bump
On Wed, 6 Oct 2021 at 00:30, zack leung <zakthertems...@gmail.com> wrote: > For relative times, the clock identifier is not used to select the clock > and instead always the CLOCK_MONOTONIC is used. A side-effect is that > sleep() and nanosleep() use the wrong clock (CLOCK_MONOTONIC instead of > CLOCK_REALTIME). > > I don't understand how the monotonic clock is not being used. I know that > if it's not a realtime clock then > Thread_queue_Context_set_enqueue_timeout_monotonic_timespec is called and i > believe that all the appropriate branches are there to make the monotonic > clock work. > > Zack > _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel