zephyr/lib/os
Damian Krolik 73802412a8 lib: os: mpsc_pbuf: take spinlock in utilization getters
Two public functions do not take the spinlock even though
they access mutable, non-atomic members of the buffer:
- mpsc_pbuf_get_utilization()
- mpsc_pbuf_get_max_utilization()

Take the spinlock to avoid possible data races.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
2025-02-18 13:30:29 +01:00
..
zvfs net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
assert.c
cbprintf_complete.c ARCMWDT: Fix cbprintf issue with omitted function prototype 2024-06-28 07:21:11 -04:00
cbprintf_nano.c ARCMWDT: Fix cbprintf issue with omitted function prototype 2024-06-28 07:21:11 -04:00
cbprintf_packaged.c lib: os: cbprintf_packaged: Fix cbprintf_package_convert 2024-11-01 09:56:03 -05:00
cbprintf.c
CMakeLists.txt net: sockets: move poll implementation to zvfs 2024-10-14 13:01:51 +02:00
fdtable.c posix: fcntl.h: define constants in terms of zvfs constants 2025-01-05 09:58:54 +01:00
Kconfig p4wq: Add Kconfig to perform early init on threads 2025-02-18 05:32:58 +01:00
Kconfig.cbprintf
mpsc_pbuf.c lib: os: mpsc_pbuf: take spinlock in utilization getters 2025-02-18 13:30:29 +01:00
mutex.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
p4wq.c p4wq: Add Kconfig to perform early init on threads 2025-02-18 05:32:58 +01:00
poweroff.c
printk.c lib: os: change __printk_get_hook return type to printk_hook_fn_t 2024-07-27 10:41:01 +03:00
reboot.c lib: os: reboot: dump coverage info on sys_reboot 2024-06-15 04:39:53 -04:00
sem.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
spsc_pbuf.c
thread_entry.c arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
user_work.c