bbfdm/libbbfdm-api/legacy
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
..
include Introduce a new libbbfdm-api library version 2 2025-01-27 15:29:04 +01:00
plugin Updated logs 2025-03-16 11:52:42 +05:30
CMakeLists.txt log when max instance reached 2025-02-05 17:01:29 +05:30
dmapi.c Update reference db refresh 2025-04-15 15:20:55 +00:00
dmapi.h Redesign the handling of references based on uci reference_translation 2025-04-08 09:29:09 +02:00
dmbbf.c Reference DB: add file lock to prevent race condition when updating reference DB file 2025-04-25 12:13:20 +02:00
dmbbf.h Redesign the handling of references based on uci reference_translation 2025-04-08 09:29:09 +02:00
dmcommon.c Redesign the handling of references based on uci reference_translation 2025-04-08 09:29:09 +02:00
dmcommon.h Redesign the handling of references based on uci reference_translation 2025-04-08 09:29:09 +02:00
dmentry.c Redesign the handling of references based on uci reference_translation 2025-04-08 09:29:09 +02:00
dmentry.h Optimize bbfdmd 2025-02-21 09:55:09 +00:00
dmjson.c Introduce a new libbbfdm-api library version 2 2025-01-27 15:29:04 +01:00
dmjson.h Introduce a new libbbfdm-api library version 2 2025-01-27 15:29:04 +01:00
dmmem.c Introduce a new libbbfdm-api library version 2 2025-01-27 15:29:04 +01:00
dmmem.h Introduce a new libbbfdm-api library version 2 2025-01-27 15:29:04 +01:00
dmplugin.c Optimize bbfdmd 2025-02-21 09:55:09 +00:00
dmplugin.h Optimize bbfdmd 2025-02-21 09:55:09 +00:00
dmubus.c Introduce a new ubus API with timeout 2025-04-23 07:15:22 +00:00
dmubus.h Introduce a new ubus API with timeout 2025-04-23 07:15:22 +00:00
dmuci.c Redesign the handling of references based on uci reference_translation 2025-04-08 09:29:09 +02:00
dmuci.h Update reference db refresh 2025-04-15 15:20:55 +00:00