[PATCH v2] Test for clock_nanosleep with CLOCK_MONOTONIC option.
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Apr 15 14:00:08 UTC 2020
On 15/04/2020 15:55, Utkarsh Rai wrote:
> Yes sir.
Ok, good, then you should do this. Maybe someone else solved this
problem already.
>
> On Wed 15 Apr, 2020, 7:21 PM Sebastian Huber,
> <sebastian.huber at embedded-brains.de
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
>
> On 15/04/2020 15:00, Utkarsh Rai wrote:
>
> > Okay, so from what I could gather the time between the two gettime
> > calls can exceed 1 sec if it is preempted by another process in
> > between. Is my line of thought correct?
> There is no other process. What you want to know is if the difference
> between two struct timespec is greater than or equal to 1ns, right?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200415/1dacb0c0/attachment.html>
More information about the devel
mailing list