A platform-independent file locking module
http://code.google.com/p/pylockfile
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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout isv:perlur:epel/python-lockfile && cd $_
- Create Badge
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
lockfile-0.9.1.tar.gz | 0000016949 16.6 KB | |
python-lockfile.spec | 0000002696 2.63 KB |
Comments 0