bbfdm/libbbfdm-ubus
Amin Ben Romdhane 4a3a7ca0b1 Reference DB: add file lock to prevent race condition when updating reference DB file
Added an exclusive file locking mechanism using `flock()` to ensure that
only one process at a time can update the '/var/state/bbfdm_reference_db' file.
This prevents data loss or corruption caused by concurrent access.

This change improves robustness when `bbfdm_refresh_references()` is called
by multiple processes in parallel.
2025-04-25 12:13:20 +02:00
..
add_delete.c Introduce a new library: libbbfdm-ubus 2024-08-29 10:11:30 +00:00
add_delete.h Introduce a new library: libbbfdm-ubus 2024-08-29 10:11:30 +00:00
bbfdm-ubus.c Reference DB: add file lock to prevent race condition when updating reference DB file 2025-04-25 12:13:20 +02:00
bbfdm-ubus.h Update reference db refresh 2025-04-15 15:20:55 +00:00
CMakeLists.txt Introduce a new libbbfdm-api library version 2 2025-01-27 15:29:04 +01:00
common.c Optimize bbfdmd 2025-02-21 09:55:09 +00:00
common.h Optimize bbfdmd 2025-02-21 09:55:09 +00:00
events.c Optimize bbfdmd 2025-02-21 09:55:09 +00:00
events.h Introduce a new library: libbbfdm-ubus 2024-08-29 10:11:30 +00:00
get.c Optimize bbfdmd 2025-02-21 09:55:09 +00:00
get.h Optimize bbfdmd 2025-02-21 09:55:09 +00:00
get_helper.c Optimize bbfdmd 2025-02-21 09:55:09 +00:00
get_helper.h Optimize bbfdmd 2025-02-21 09:55:09 +00:00
operate.c Operate: Fix JSON format output in case of output failure 2025-03-18 12:52:19 +01:00
operate.h Introduce a new library: libbbfdm-ubus 2024-08-29 10:11:30 +00:00
plugin.c Redesign the handling of references based on uci reference_translation 2025-04-08 09:29:09 +02:00
plugin.h Optimize bbfdmd 2025-02-21 09:55:09 +00:00
set.c Optimize bbfdmd 2025-02-21 09:55:09 +00:00
set.h Optimize bbfdmd 2025-02-21 09:55:09 +00:00