zephyr/subsys
Emil Gydesen 4b68043ebb Bluetooth: MPL: Replace busy bool with atomic
Replace the busy boolean flag with an atomic value.
This prevents any race conditions with the MPL implementation.
Modifies where the new atomic value is set and cleared
so that initialization gets to finish before allowing
any reads.

Due to how the MPL is structured, and how a select cannot
be rejected from OTS, this does not give a perfect solution.
Ideally we need a separate object per OTS object, rather than
a shared one, and/or the OTS implemenation would allow
us to reject a select if the object is not currently
available or ready.

This commit does not fix the above issues, as that is a
larger undertaking.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-09-16 20:18:39 +02:00
..
bindesc bindesc: Add support for the build version values 2024-09-04 07:03:47 -04:00
bluetooth Bluetooth: MPL: Replace busy bool with atomic 2024-09-16 20:18:39 +02: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 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
dap kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
debug style: subsys: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
demand_paging demand_paging: add a semihosting based backing store for on-demand sections 2024-09-11 20:18:51 -04:00
dfu dfu/mcuboot: Use flash_area_flatten instead of flash_area_erase 2024-06-04 08:00:46 +02: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 fb: cfb: Fix CID 394240 2024-07-05 18:39:22 +02:00
fs fs: nvs: fix nvs static analysis error 2024-09-04 12:51:14 +02:00
input input: double tap 2024-08-19 09:56:26 -04:00
ipc ipc: align icbmsg to no-multithreading 2024-09-12 10:03:05 +02:00
jwt mbedtls: do not set PSA_WANT_KEY_TYPE_[RSA/ECC]_KEY_PAIR_BASIC 2024-09-12 10:02:40 +02:00
llext subsys/llext: Allow .exported_sym to be between other data sections 2024-09-16 20:17:35 +02:00
logging logging: log_frontend_stmesp: Add support for standalone mode 2024-09-06 11:31:27 -04:00
lorawan everywhere: replace double words 2024-06-25 06:05:35 -04:00
mem_mgmt mem_mgmt: Add a memory attributes memory allocator 2023-11-27 19:56:48 +01:00
mgmt mgmt: ec_host_cmd: npcx: workaround for backend SHI 2024-09-13 09:17:23 +02:00
modbus modbus_serial: Disable rx interrupt if buffer fills up 2024-06-13 16:48:05 -04:00
modem modem: ubx: fix incoming byte processing 2024-08-02 03:29:18 -04:00
net net: dns: Ignore GCC warnings in mdns_responder.c 2024-09-16 20:17:35 +02:00
pm pm: policy: change the policy event handling 2024-09-09 13:56:04 -04:00
portability kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
profiling style: subsys: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
random everywhere: replace double words 2024-06-25 06:05:35 -04: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
sensing sensors: Submit call returns void 2024-06-14 19:13:02 +02:00
settings kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
shell subsys/shell: cmd_date_set uses gmtime_r, a POSIX function 2024-09-16 20:17:35 +02: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 everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
task_wdt task_wdt: Feed hardware watchdog only when its started 2024-06-06 00:40:53 -07:00
testsuite tests: kernel: add missing test call argument 2024-08-24 07:17:15 -04:00
timing
tracing style: subsys: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
usb usb: device_next: uac2: Support multiple sample rates 2024-09-13 09:21:58 +02:00
zbus lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
CMakeLists.txt lib: net_buf: move the network buffer implementation to lib 2024-09-07 11:19:05 -05:00
Kconfig profiling: Add perf tool 2024-08-13 18:28:44 -04:00