From 90b819c6d832046840018ff08b9bc5d0e3b69c37 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Sun, 29 Nov 2020 21:02:32 +0000
Subject: Revamp lock primitives; prepare for 2.10.0.0 instead of 2.9.4.0
flock() doesn't have a way to test for a lock without taking it.
lockf() doesn't have shared locks.
The only way to have both is fcntl(). So I rewrote all the
locking stuff around fcntl(), and used the opportunity to change
the interface.
The point of changing the interface is to stop having to bother
with the old one, so to hell with compatibility, let's just do a
major bump.
---
doc/upgrade.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'doc/upgrade.html')
diff --git a/doc/upgrade.html b/doc/upgrade.html
index da2185c..8a87d7d 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -16,7 +16,7 @@
skarnet.org
- in 2.9.4.0
+ in 2.10.0.0
- New openc_* functions, which are O_CLOEXEC versions of the
@@ -25,6 +25,8 @@
deleting a Unix domain socket. The ipc_bind_reuse() function now
uses it, so it won't unconditionally clobber sockets in the filesystem anymore.
- Complete revamping of the pathexec functions, see exec.h.
+ - Revamping of the locking functions, see
+