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 arch: remove the use of z_arch_esf_t completely from internal 2024-06-04 14:02:51 -05:00
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 linker: Round TLS sizes up in linker script 2024-02-25 22:28:56 -05:00
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 build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
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 kernel: move priority queue handling to own file/header 2024-03-02 15:06:45 +01:00