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 Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00
clock_getres.c Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00
clock_gettime.c clock_gettime.c: Fix a cornercase bug in clock_gettime() 2014-09-10 17:10:54 -06:00
clock_gettimeofday.c nuttx/sched: Remove explicit references to errno. That is a problem from within the kernel for certain configurations 2014-08-28 17:00:24 -06:00
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 Don't do 64-bit calculations if accuracy not achievable; Fix compile error in high res RTC mode 2014-08-15 17:48:07 -06:00
clock_ticks2time.c Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00
clock_time2ticks.c Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00