Lock file manipulation
Project description
Lock files are used on Unix-like systems as a means of synchronization among processes. Only one process can hold a lock file. Other processes that want to acquire it have to wait until it is released by the holder.
In this module the lock file is implemented as an empty regular file, exclusively locked using fcntl.flock. The file is removed when it is to be released.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lock_file-1.0.tar.gz
(2.2 kB
view hashes)