aboutsummaryrefslogtreecommitdiff
path: root/python/python3-flufl.lock/README
diff options
context:
space:
mode:
authorYth - Arnaud <yth@ythogtha.org>2023-07-29 07:48:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-29 07:48:45 +0700
commit21d42362b0fdce0f1ecc03ac7faa3b8f36c5d359 (patch)
tree801eb4cd94c185ae8a35293d24c7e8fc8ac6242d /python/python3-flufl.lock/README
parent737604575d23fe8d7a9274ff48c893b176253c89 (diff)
python/python3-flufl.lock: Added (NFS-safe file locking).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-flufl.lock/README')
-rw-r--r--python/python3-flufl.lock/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/python/python3-flufl.lock/README b/python/python3-flufl.lock/README
new file mode 100644
index 0000000000..04323b32c0
--- /dev/null
+++ b/python/python3-flufl.lock/README
@@ -0,0 +1,13 @@
+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.