[RTEMS Project] #2732: Add clock_nanosleep()

RTEMS trac trac at rtems.org
Mon Jul 25 16:45:22 UTC 2016


#2732: Add clock_nanosleep()
--------------------+---------------------
 Reporter:  gedare  |       Owner:  gedare
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:  4.12
Component:  cpukit  |     Version:  4.12
 Severity:  normal  |  Resolution:
 Keywords:  posix   |
--------------------+---------------------

Comment (by Gedare Bloom <gedare@…>):

 In [changeset:"e0f17fcf6f06d3383cd389d809ee4e3d6e0fb14d/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="e0f17fcf6f06d3383cd389d809ee4e3d6e0fb14d"
 posix: fix clock_nanosleep and nanosleep clock use

 Sleeping with CLOCK_REALTIME should use the WATCHDOG_ABSOLUTE
 clock discipline for the threadq so that the timeout interval
 may change in case the clock source changes. Similarly,
 CLOCK_MONOTONIC uses the WATCHDOG_RELATIVE threadq that will
 only wakeup the thread after the requested count of ticks elapse.

 updates #2732
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2732#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list