nuttx/sched
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
..
clock alling mq_timedreceived with immediate timeout was getting stuck and not 2014-11-19 09:25:00 -06:00
environ Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
errno Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
group Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
init Rename CONFIG_SCHED_USRWORK to CONFIG_LIB_USRWORK 2014-10-11 15:59:40 -06:00
irq Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
mqueue Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
paging Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
pthread Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
sched More fixes to tickless operation, alarm/mode code. From Brandon Warhurst 2014-10-23 07:13:57 -06:00
semaphore Fix incorrect comment 2014-11-07 15:54:24 -06:00
signal Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
task Fix some compile issues introduces with removal of CONFIG_MAX_TASK_ARGS 2014-11-14 09:53:11 -06:00
timer Simplify how C source files are selected in the build 2014-10-07 07:42:36 -06:00
wdog Fix an important bug in the watchdog creation logic 2014-11-10 18:15:26 -06:00
wqueue Missing workqueue logic 2014-10-12 17:19:51 -06:00
.gitignore .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Kconfig Remove CONFIG_MAX_TASK_ARGS from all Kconfigs and defconfigs 2014-11-12 18:02:19 -06:00
Makefile Add support for priority inheritance on the low priority worker queue 2014-10-07 07:41:52 -06:00