zephyr/kernel
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
..
include kernel: timeout: detect inactive timeouts using dnode linked state 2019-01-23 20:46:49 +01:00
atomic_c.c
CMakeLists.txt cmake: Use variables for target names 2019-01-19 07:21:55 -05:00
compiler_stack_protect.c
device.c
errno.c
idle.c
init.c Gcov: Enable Code coverage reporting over UART. 2019-01-16 06:12:33 -05:00
int_latency_bench.c
Kconfig Kconfig: STACK_CANARIES: Correct the help text 2019-01-23 09:44:09 +01:00
Kconfig.power_mgmt
mailbox.c
mem_domain.c
mem_slab.c
mempool.c
msg_q.c
mutex.c
pipes.c
poll.c kernel: poll: fix double-remove of node 2019-01-23 20:46:49 +01:00
queue.c
sched.c kernel: timeout: detect inactive timeouts using dnode linked state 2019-01-23 20:46:49 +01:00
sem.c
smp.c
stack.c
system_work_q.c
thread_abort.c
thread.c
timeout.c kernel: timeout: detect inactive timeouts using dnode linked state 2019-01-23 20:46:49 +01:00
timer.c kernel: timeout: detect inactive timeouts using dnode linked state 2019-01-23 20:46:49 +01:00
userspace_handler.c
userspace.c
version.c
work_q.c