zephyr/subsys
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
..
bindesc bindesc: Add support for reading binary descriptors 2024-10-11 13:20:49 -04:00
bluetooth Bluetooth: AVDTP: Check buffer length before pulling it 2024-12-18 10:17:45 +01:00
canbus lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
console
dap kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
debug drivers: coredump: Place API into iterable section 2024-12-03 02:36:38 +01:00
demand_paging demand_paging: eviction: add kconfig CONFIG_EVICTION_TRACKING 2024-11-18 13:16:44 -05:00
dfu dfu: boot: mcuboot: fix boot_is_img_confirmed 2024-12-05 12:29:44 +01:00
disk disk: disk_access: changed mutex for a spinlock 2024-08-26 17:26:36 -04:00
dsp zdsp: add ARC DSPLIB backend for zdsp 2023-02-21 15:06:06 +01:00
emul emul: Support UART device emulation 2024-07-30 18:28:17 +01:00
fb drivers: display: Place API into iterable section 2024-12-02 22:05:41 +00:00
fs fs: littlefs: add littlefs disk version selection 2024-12-17 20:55:51 +01:00
input input: prevent the caller from sleeping in sysworkq 2024-11-29 14:49:43 +01:00
ipc ipc: icbmsg: Reduce block alignment to 32-bits 2024-11-22 08:26:22 -05:00
jwt jwt: remove TinyCrypt usage 2024-11-05 13:44:20 -06:00
llext llext: move a calculation to a more logical location 2024-12-17 20:55:15 +01:00
logging logging: increase the maximum value of LOG_BUFFER_SIZE 2024-12-12 19:59:51 +01:00
lorawan lorawan: replace booleans by atomic flags 2024-11-16 14:03:36 -05:00
mem_mgmt mem_mgmt: Add a memory attributes memory allocator 2023-11-27 19:56:48 +01:00
mgmt Subsys: mgmt: mcumgr: Fix mcumgr assertion error 2024-12-16 13:09:28 +01:00
modbus modbus: serial: remove redundant cfg->dev usage in uart_cb_handler 2024-12-13 11:34:44 +01:00
modem drivers: modem: initialize variables to avoid warn 2024-11-19 10:04:58 -05:00
net net: http_server: Support PUT/PATCH/DELETE for dynamic resources 2024-12-18 18:15:02 +01:00
pm shell: use shell_device_get_binding 2024-12-18 15:32:10 +01:00
portability kernel: Introduce _THREAD_SLEEPING state bit 2024-12-18 18:17:03 +01:00
profiling arch: deprecate _current 2024-11-23 20:12:24 -05:00
random random: random_timer.c Remove __GNUC__ ifdef 2024-11-06 10:11:58 -08:00
retention retention: Increase read size variables to 16-bit 2023-12-14 19:05:22 +00:00
rtio rtio: Split the rx and tx buffer unions 2024-08-17 08:55:01 -04:00
sd sd: resend CMD0 before each CMD8 2024-08-27 15:14:23 -04:00
secure_storage secure_storage: its: store: settings: improve debug logging 2024-12-17 11:34:42 +00:00
sensing drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
settings settings: introduce priority for commit 2024-10-24 22:04:07 +01:00
shell shell: modules: kernel: streamline code 2024-12-13 11:35:28 +01:00
sip_svc everywhere: replace double words 2024-06-22 05:40:22 -04:00
stats shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
storage storage: flash map: Add flash_area_sectors 2024-12-02 09:43:00 +01:00
task_wdt task_wdt: Feed hardware watchdog only when its started 2024-06-06 00:40:53 -07:00
testsuite tests: CONFIG_TEST_USERSPACE selects CONFIG_USERSPACE 2024-11-18 19:30:50 -05:00
timing
tracing tracing: kernel: Add support for stopping workqueues 2024-12-12 11:07:39 +01:00
usb usb: device_next: rework wSequence check in CDC NCM implementation 2024-12-18 12:46:08 +01:00
zbus zbus: optional unique channel numeric identifiers 2024-12-18 12:47:24 +01:00
CMakeLists.txt secure_storage: introduce the secure storage subsystem 2024-10-07 13:38:43 +02:00
Kconfig secure_storage: introduce the secure storage subsystem 2024-10-07 13:38:43 +02:00