summaryrefslogtreecommitdiff
path: root/src/tools/time_utils.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-07-05 18:10:50 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-07-08 11:02:24 +0200
commit2e5391e78c3c145e402bff1efef0a4160002b418 (patch)
treeb7665f76498b383981ed94e24c9856beac3aeaa6 /src/tools/time_utils.h
parent0562337b7aaee1c50fa840e220eba4f7478a9e82 (diff)
downloadouroboros-2e5391e78c3c145e402bff1efef0a4160002b418.tar.gz
ouroboros-2e5391e78c3c145e402bff1efef0a4160002b418.zip
lib: Prefer writers on the proc flow lock
FRCT readers hold proc.lock in a rdlock loop and could starve a pending flow accept waiting for the wrlock. Initialise the lock with the writer-nonrecursive kind on Linux with glibc, so writers are not indefinitely delayed. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/time_utils.h')
0 files changed, 0 insertions, 0 deletions