zephyr/tests/kernel
Peter Mitsis 5710e034e7 kernel: Introduce _THREAD_SLEEPING state bit
At the present time, Zephyr does has overlap between sleeping and
suspending. Not only should sleeping and suspended be orthogonal
states, but we should ensure users always employ the correct API.
For example, to wake a sleeping thread, k_wakeup() should be used,
and to resume a suspended thread, k_thread_resume() should be used.
However, at the present time k_thread_resume() can be used on a
thread that called k_sleep(K_FOREVER). Sleeping should have nothing
to do with suspension.

This commit introduces the new _THREAD_SLEEPING thread state along
with some prep-work to facilitate the decoupling of the sleeping and
suspended thread states.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2024-12-18 18:17:03 +01:00
..
cache boards: rename qemu_xtensa to qemu_xtensa/dc233c 2024-10-02 09:58:36 +02:00
common tests: kernel: common: optimize filters 2024-11-21 19:22:35 -05:00
condvar/condvar_api
context Revert "tests: disable NRF5 entropy driver on some bsim/qemu tests" 2024-12-12 00:15:39 +00:00
device tests: kernel: exclude xenvm with GICv3 from device tests 2024-12-05 22:09:31 +01:00
early_sleep
events
fatal arch: deprecate _current 2024-11-23 20:12:24 -05:00
fifo
fpu_sharing tests: kernel: fpu_sharing Fixed missing struct defs for ARM 2024-11-16 14:57:17 -05:00
gen_isr_table tests: gen_isr_table: multilevel: cleanup filter & Kconfigs 2024-10-02 10:08:19 +02:00
interrupt soc: nordic: Introduce the nRF54L05 and nRF54L10 2024-11-21 09:26:38 +01:00
ipi_cascade arch: deprecate _current 2024-11-23 20:12:24 -05:00
ipi_optimize
lifo
mbox
mem_heap/k_heap_api
mem_protect tests: demand_paging/mem_map: move malloc config to prj.conf 2024-12-07 16:01:10 +00:00
mem_slab
mp
msgq
mutex tests: copy intel_adsp_ace30_ptl.conf to *_sim.conf 2024-11-18 13:18:22 -05:00
obj_core tests: remove misnamed platforms from platform_exclude 2024-09-16 10:07:51 +02:00
obj_tracking samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
pending samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
pipe
poll test: k_msgq_put should trigger reschedule 2024-12-14 01:04:43 +01:00
profiling/profiling_api
queue tests: copy intel_adsp_ace30_ptl.conf to *_sim.conf 2024-11-18 13:18:22 -05:00
sched Revert "tests: disable NRF5 entropy driver on some bsim/qemu tests" 2024-12-12 00:15:39 +00:00
semaphore tests: kernel: fix test groups for semaphore/mutex 2024-09-17 05:24:09 -04:00
sleep
smp tests: guard variable used only with CONFIG_TRACE_SCHED_IPI 2024-12-17 20:54:48 +01:00
smp_abort
smp_boot_delay samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
smp_suspend
spinlock
stack/stack
threads kernel: Introduce _THREAD_SLEEPING state bit 2024-12-18 18:17:03 +01:00
tickless/tickless_concept
timer tests: kernel: timer: timer_behavior: Reduce tick frequency(nrf54l20pdk) 2024-12-02 14:23:22 +01:00
usage/thread_runtime_stats arch: deprecate _current 2024-11-23 20:12:24 -05:00
workq tests: kernel: Add support for stopping workqueues 2024-12-12 11:07:39 +01:00
xip