[RTEMS Project] #2732: Add clock_nanosleep()

RTEMS trac trac at rtems.org
Tue Jul 26 18:17:57 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:"39d97ab78cfcc37eb8b1e7d9f9717f51b249155b/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="39d97ab78cfcc37eb8b1e7d9f9717f51b249155b"
 cpukit: refactor nanosleep and use 64-bit timeout for threadq

 * Fixes a bug with elapsed time calculations misusing absolute time
   arguments in nanosleep_helper by passing the requested relative
 interval.
 * Fixes a bug with truncation of absolute timeouts by passing the
   full 64-bit value to Thread_queue_Enqueue.
 * Share yield logic between nanosleep and clock_nanosleep.

 updates #2732
 }}}

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


More information about the bugs mailing list