diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-29 21:02:32 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-29 21:02:32 +0000 |
commit | 90b819c6d832046840018ff08b9bc5d0e3b69c37 (patch) | |
tree | efea05788cc982395ee114474d84096e7fc70862 /doc/upgrade.html | |
parent | e6c5c984461dc4cec0ef2d68524d6bd457e23853 (diff) | |
download | skalibs-90b819c6d832046840018ff08b9bc5d0e3b69c37.tar.gz skalibs-90b819c6d832046840018ff08b9bc5d0e3b69c37.tar.xz skalibs-90b819c6d832046840018ff08b9bc5d0e3b69c37.zip |
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.
Diffstat (limited to 'doc/upgrade.html')
-rw-r--r-- | doc/upgrade.html | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ <a href="//skarnet.org/">skarnet.org</a> </p> -<h2> in 2.9.4.0 </h2> +<h2> in 2.10.0.0 </h2> <ul> <li> New <tt>openc_*</tt> functions, which are O_CLOEXEC versions of the @@ -25,6 +25,8 @@ deleting a Unix domain socket. The <tt>ipc_bind_reuse()</tt> function now uses it, so it won't unconditionally clobber sockets in the filesystem anymore. </li> <li> Complete revamping of the pathexec functions, see <tt>exec.h</tt>. </li> + <li> Revamping of the locking functions, see +<a href="libstddjb/djbunix.html>djbunix.h</a>. </li> </ul> <h2> in 2.9.3.0 </h2> |