[RTEMS Project] #4429: clock_nanosleep() may use wrong clock for relative times (cloned)

RTEMS trac trac at rtems.org
Tue May 18 18:45:29 UTC 2021


#4429: clock_nanosleep() may use wrong clock for relative times (cloned)
------------------------------+-----------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  defect           |     Status:  assigned
  Priority:  normal           |  Milestone:  5.2
 Component:  posix            |    Version:  5
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+-----------------------------
 Cloned from #4426:
 ----
 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).

--
Ticket URL: <http://devel.rtems.org/ticket/4429>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list