zc.lockfile

Basic portable implementation of interprocess locks using file-locking primitives.


Keywords
maintained
License
ZPL-2.1
Install
conda install -c anaconda zc.lockfile

Documentation

Basic inter-process locks

The zc.lockfile package provides a basic portable implementation of interprocess locks using lock files. The purpose if not specifically to lock files, but to simply provide locks with an implementation based on file-locking primitives. Of course, these locks could be used to mediate access to other files. For example, the ZODB file storage implementation uses file locks to mediate access to file-storage database files. The database files and lock file files are separate files.