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. --- NEWS | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index deb04ba..d390e6a 100644 --- a/NEWS +++ b/NEWS @@ -1,14 +1,15 @@ Changelog for skalibs. -In 2.9.4.0 ----------- +In 2.10.0.0 +----------- - New openc_* functions. - New function: ipc_bind_reuse_lock(), taking a lock before unconditionally deleting the socket. - ipc_bind_reuse() rewritten to use ipc_bind_reuse_lock(), so it does the right thing instead of clobbering sockets. - - Complete revamping of the pathexec functions, see exec.h + - Complete revamping of the pathexec functions, see exec.h. + - Revamping of the locking functions. In 2.9.3.0 -- cgit v1.2.3