mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
e8ab7bfa87
- Allow staging - Use CHEESESHOP as master site - Use python auto plist - Take maintainership - Change to new project URL
9 lines
447 B
Plaintext
9 lines
447 B
Plaintext
The lockfile module exports a FileLock class which provides a simple
|
|
API for locking files. Unlike the Windows msvcrt.locking function, the
|
|
Unix fcntl.flock, fcntl.lockf and the deprecated posixfile module, the
|
|
API is identical across both Unix (including Linux and Mac) and Windows
|
|
platforms. The lock mechanism relies on the atomic nature of the link
|
|
(on Unix) and mkdir (on Windows) system calls.
|
|
|
|
WWW: https://github.com/smontanaro/pylockfile
|