freebsd-ports/devel/py-lockfile/pkg-descr
Eitan Adler d1f32a3e5d Style: tab -> space.
Most contributors copy an existing port when writing their own so reduce the number of bad examples in the tree.
2013-03-28 16:28:59 +00:00

8 lines
444 B
Text

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: http://pypi.python.org/pypi/lockfile/