zephyr/samples/subsys
Evgeniy Paltsev d705f740ee samples/subsys/zbus/benchmark: fix counter synchronization issue
Current implementation has obvious synchronization issue with
global counter variable which is updated (RMW) in multiple threads
without any locking.

Replace regular variable by atomic type. As the maximum possible
value is much less than INT32_MAX it's OK to replace the original
uint64_t by (32-bit) atomic_t.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2023-01-25 11:24:07 +00:00
..
canbus samples: canbus: isotp: add missing isotp tag 2023-01-19 16:49:10 -08:00
console includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
debug samples: add debug monitor sample 2022-12-28 12:00:46 +01:00
display modules: lvgl: change mentions of "LittleVGL" to "LVGL" 2022-12-16 09:31:41 +01:00
edac tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
fs samples: fs: littlefs: Add stm32l562_dk and b_u585i_iot02a 2023-01-10 09:23:59 +01:00
ipc yamllint: indentation: fix files in samples/ 2023-01-04 14:23:53 +01:00
logging treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS 2023-01-13 17:42:55 -05:00
lorawan samples: subsys: lorawan: class_a: add clock sync option 2023-01-23 10:05:49 +00:00
mgmt mgmt: updatehub: Add userspace syscalls 2023-01-23 10:24:07 +00:00
modbus samples: Explicitly disable boot USB device support init at boot 2023-01-10 12:21:10 +01:00
nvs yamllint: fix all yamllint line-length errors 2023-01-04 01:16:45 +09:00
pm tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
portability includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
rtio/sensor_batch_processing rtio: Add macro to define iodev submission queue 2022-10-05 12:42:16 +02:00
settings yamllint: fix all yamllint line-length errors 2023-01-04 01:16:45 +09:00
shell samples: Explicitly disable boot USB device support init at boot 2023-01-10 12:21:10 +01:00
task_wdt samples: Use immediate logging mode in watchdog related samples 2022-12-10 09:45:02 +01:00
testsuite yamllint: fix all yamllint brackets errors 2023-01-04 01:16:45 +09:00
tracing samples: Explicitly disable boot USB device support init at boot 2023-01-10 12:21:10 +01:00
usb samples: Explicitly disable boot USB device support init at boot 2023-01-10 12:21:10 +01:00
usb_c samples: subsys: usb_c: sink: Add USBC_CSM_SINK_ONLY Config to prj.conf 2023-01-11 18:32:43 +01:00
video tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
zbus samples/subsys/zbus/benchmark: fix counter synchronization issue 2023-01-25 11:24:07 +00:00
subsys.rst