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> |
||
|---|---|---|
| .. | ||
| zvfs | ||
| assert.c | ||
| cbprintf_complete.c | ||
| cbprintf_nano.c | ||
| cbprintf_packaged.c | ||
| cbprintf.c | ||
| CMakeLists.txt | ||
| fdtable.c | ||
| Kconfig | ||
| Kconfig.cbprintf | ||
| mpsc_pbuf.c | ||
| mutex.c | ||
| p4wq.c | ||
| poweroff.c | ||
| printk.c | ||
| reboot.c | ||
| sem.c | ||
| spsc_pbuf.c | ||
| thread_entry.c | ||
| user_work.c | ||