[RTEMS Project] #2606: alarm() uses seconds watchdog and thus is affected by clock changes
RTEMS trac
trac at rtems.org
Mon Feb 22 07:49:18 UTC 2016
#2606: alarm() uses seconds watchdog and thus is affected by clock changes
-----------------------------+-----------------------------
Reporter: sebastian.huber | Owner: sebastian.huber
Type: defect | Status: new
Priority: normal | Milestone: 4.12
Component: General | Version: 4.10
Severity: normal | Keywords:
-----------------------------+-----------------------------
alarm() uses _Watchdog_Insert_seconds() and thus is affected by clock
changes, e.g. via _TOD_Set(). This is wrong. The POSIX documentation is
not that clear since it talks only about "realtime seconds". However, the
FreeBSD implementation uses the uptime. This is also in line with the
RTEMS ualarm() and nanosleep().
--
Ticket URL: <http://devel.rtems.org/ticket/2606>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list