8c28718bcb
timeout. Immediate timeout is achieved by setting absolute timeout value to past time, for example abstime={ .tv_sec=0, .tv_nsec=0 }. However absolute time was converted to relative time using unsigned integer arithmetic and resulted large ticks count by clock_abstime2ticks, instead of expected negative ticks value. Patch corrects clock_abstime2ticks to return negative ticks, if absolute time is in the past. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com> |
||
---|---|---|
.. | ||
clock_abstime2ticks.c | ||
clock_dow.c | ||
clock_getres.c | ||
clock_gettime.c | ||
clock_gettimeofday.c | ||
clock_initialize.c | ||
clock_settime.c | ||
clock_systimer.c | ||
clock_systimespec.c | ||
clock_ticks2time.c | ||
clock_time2ticks.c | ||
clock.h | ||
Make.defs |