| Trees | Indices | Help |
|---|
|
|
Lock files using Posix advisory lock files.
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Open the file and lock it. Tries to create a .lock file next to the file we're trying to open. Args: timeout: float, How long to try to lock for. delay: float, How long to wait between retries. Raises: AlreadyLockedException: if the lock is already acquired. IOError: if the open fails.
|
Unlock a file by removing the .lock file, and close the handle.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri Aug 3 07:38:31 2012 | http://epydoc.sourceforge.net |