incubator-nuttx/sched/clock
Gregory Nutt 8c28718bcb alling mq_timedreceived with immediate timeout was getting stuck and not
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>
2014-11-19 09:25:00 -06:00
..
Make.defs Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
clock.h Fix build error with CONFIG_SYSTEM_TIME64 2014-10-03 10:20:46 -06:00
clock_abstime2ticks.c alling mq_timedreceived with immediate timeout was getting stuck and not 2014-11-19 09:25:00 -06:00
clock_dow.c
clock_getres.c
clock_gettime.c clock_gettime.c: Fix a cornercase bug in clock_gettime() 2014-09-10 17:10:54 -06:00
clock_gettimeofday.c
clock_initialize.c Fixes to clock bias logic. Remove vestiges of g_tickbias; apply bias instead to g_basetime 2014-09-10 16:36:25 -06:00
clock_settime.c Fixes to clock bias logic. Remove vestiges of g_tickbias; apply bias instead to g_basetime 2014-09-10 16:36:25 -06:00
clock_systimer.c Update TODO list + cosmetic changes to clock_systimer.c 2014-10-03 11:21:35 -06:00
clock_systimespec.c
clock_ticks2time.c
clock_time2ticks.c