zephyr/kernel/include
Peter Mitsis 995ad43851 kernel: Streamline z_is_thread_ready()
The check for an active timeout in z_is_thread_ready() was originally
added to cover the case of a sleeping thread. However, since there is
now a bit in the thread state that indicates if the thread is sleeping
we can drop that superfluous check.

Making this change necessitates moving k_wakeup()'s call to
z_abort_thread_timeout() so that it is within the locked
_sched_spinlock section to ensure that we do not end up with
a stray thread timeout in the timeout list.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-01-28 18:14:22 +01:00
..
gen_offset.h
ipi.h kernel: Add CONFIG_IPI_OPTIMIZE 2024-06-04 22:35:54 -04:00
kernel_arch_interface.h kernel: arch: move arch_swap() declaration 2024-12-11 21:33:49 +01:00
kernel_internal.h Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
kernel_offsets.h arch: riscv: fill all IRQ stacks with 0xAA 2024-09-13 09:17:34 +02:00
kernel_tls.h
ksched.h Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
kswap.h kernel: Remove clearing of swap_ok in do_swap() 2025-01-28 07:57:20 +01:00
kthread.h kernel: Streamline z_is_thread_ready() 2025-01-28 18:14:22 +01:00
mmu.h kernel: mm: rename z_num_pagefaults_get to k_mem_num_* 2024-06-12 21:13:26 -04:00
offsets_short.h
priority_q.h Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
timeout_q.h kernel: Alter z_abort_thread_timeout() return type 2025-01-09 04:04:36 +01:00
wait_q.h