mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
21d42362b0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
13 lines
560 B
Text
13 lines
560 B
Text
NFS-safe file locking with timeouts for POSIX and Windows.
|
||
|
||
The flufl.lock library provides an NFS-safe file-based locking
|
||
algorithm influenced by the GNU/Linux open(2) manpage, under the
|
||
description of the O_EXCL option.
|
||
|
||
The assumption made here is that there will be no outside
|
||
interference, e.g. no agent external to this code will ever link() to
|
||
the specific lock files used.
|
||
|
||
Lock objects support lock-breaking so that you can’t wedge a process
|
||
forever. This is especially helpful in a web environment, but may not
|
||
be appropriate for all applications.
|