rockbox/firmware/kernel
Michael Sevakis 4d4b0c5a07 In queue_wait_w_tmo, guarantee wait duration
It is possible to have a thread awoken and subsequently the message
that was placed in the queue has been removed by the time the thread
is able to check the queue. Ensure theads that failed to find a
message do not return prematurely.

It was at worst imprecise when a timeout is specified. It's entirely
incorrect if the function ever returns with SYS_TIMEOUT when using
TIMEOUT_BLOCK.

Change-Id: Ibd41eae8c787adf7a320a24603cf64ff8a6da66a
2017-02-02 23:51:55 -05:00
..
include Remove I/O priority. It is harmful when used with the new file code. 2014-08-30 14:01:21 -04:00
pthread Base scheduler queues off linked lists and do cleanup/consolidation 2014-08-16 05:15:37 -04:00
corelock.c
kernel-internal.h Do some kernel cleanup 2014-08-08 01:59:59 -04:00
mrsw_lock.c Add CPU mode asserts to kernel on blocking functions. 2017-01-21 14:25:52 -05:00
mutex.c Add CPU mode asserts to kernel on blocking functions. 2017-01-21 14:25:52 -05:00
queue.c In queue_wait_w_tmo, guarantee wait duration 2017-02-02 23:51:55 -05:00
semaphore.c Add CPU mode asserts to kernel on blocking functions. 2017-01-21 14:25:52 -05:00
thread-common.c Base scheduler queues off linked lists and do cleanup/consolidation 2014-08-16 05:15:37 -04:00
thread-internal.h In queue_wait_w_tmo, guarantee wait duration 2017-02-02 23:51:55 -05:00
thread.c Add CPU mode asserts to kernel on blocking functions. 2017-01-21 14:25:52 -05:00
tick.c
timeout.c