zephyr/kernel/include
Peter A. Bigot b4ece0ad44 kernel: timeout: detect inactive timeouts using dnode linked state
Whether a timeout is linked into the timeout queue can be determined
from the corresponding sys_dnode_t linked state.  This removes the need
to use a special flag value in dticks to determine that the timeout is
inactive.

Update _abort_timeout to return an error code, rather than the flag
value, when the timeout to be aborted was not active.

Remove the _INACTIVE flag value, and replace its external uses with an
internal API function that checks whether a timeout is inactive.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-01-23 20:46:49 +01:00
..
gen_offset.h headers: Fix headers guards 2018-09-17 15:49:26 -04:00
kernel_internal.h kernel: expose k_busy_wait() to user mode 2018-11-15 16:20:36 -05:00
kernel_offsets.h kernel: Remove duplicated identifier 2018-11-04 11:37:24 -05:00
kernel_structs.h kernel: Remove duplicated identifier 2018-11-04 11:37:24 -05:00
ksched.h kernel: timeout: detect inactive timeouts using dnode linked state 2019-01-23 20:46:49 +01:00
kswap.h kernel/swap: Simply/robustify return value handling 2019-01-11 15:18:52 -05:00
offsets_short.h headers: Fix headers guards 2018-09-17 15:49:26 -04:00
syscall_handler.h kernel: Make statements evaluate boolean expressions 2019-01-07 08:52:07 -05:00
timeout_q.h kernel: timeout: detect inactive timeouts using dnode linked state 2019-01-23 20:46:49 +01:00
wait_q.h kernel/include: Move stubs for timeout functions to their declarations 2018-10-16 15:03:10 -04:00