From 46cc034bf72fc5fb99dcf577b6db5ba74b841a39 Mon Sep 17 00:00:00 2001 From: Bron Gondwana Date: Wed, 22 Jan 2025 09:30:24 +1100 Subject: [PATCH] fcntl comment --- doc/README.twom.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.twom.md b/doc/README.twom.md index 2854b1b8af4..47e23f4643d 100644 --- a/doc/README.twom.md +++ b/doc/README.twom.md @@ -106,7 +106,7 @@ Structures named `twom_` are public, `tm_` are entirely internal. ## Locking -Twom uses a two-phase locking system, as described in [a stackoverflow post](https://stackoverflow.com/questions/27625597/how-to-implement-a-writer-preferring-read-write-lock-for-nix-processes). +Twom uses fcntl for locking, specifically a two-phase locking system, as described in [a stackoverflow post](https://stackoverflow.com/questions/27625597/how-to-implement-a-writer-preferring-read-write-lock-for-nix-processes). Copying the key parts here: