zephyr/lib
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
..
acpi
cpp
crc
hash
heap
libc
mem_blocks
net_buf
open-amp
os lib: os: mpsc_pbuf: take spinlock in utilization getters 2025-02-18 13:30:29 +01:00
posix
runtime
smf
utils
CMakeLists.txt
Kconfig