
Dec. 1, 2008
2:01 a.m.
I've just released lockfile 0.4. I separated the test code from the lockfile module so the module itself should work on Python 2.4. What is lockfile? 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. -- Skip Montanaro - skip@pobox.com - http://smontanaro.dyndns.org/
5924
Age (days ago)
5924
Last active (days ago)
0 comments
1 participants
participants (1)
-
skip@pobox.com