twisted.python.lockfile module documentationtwisted.python
          View Source
          
        
      Filesystem-based interprocess mutex.
| Function | unique | Undocumented | 
| Function | kill | Undocumented | 
| Variable | ERROR_ACCESS_DENIED | Undocumented | 
| Variable | ERROR_INVALID_PARAMETER | Undocumented | 
| Function | symlink | Write a file at filename with the contents of value. See the above comment block as to why this is needed. | 
  
| Function | readlink | Read the contents of filename. See the above comment block as to why this is needed. | 
  
| Function | rmlink | Undocumented | 
| Class | FilesystemLock | A mutex. | 
| Function | isLocked | Determine if the lock of the given name is held or not. | 
| Variable | __all__ | Undocumented | 
| Variable | _windows | Undocumented | 
Write a file at filename with the contents of value. See the above comment block as to why this is needed.
Read the contents of filename. See the above comment block as to why this is needed.
Determine if the lock of the given name is held or not.
| Parameters | name | The filesystem path to the lock to test (type: str) | 
| Returns | True if the lock is held, False otherwise. (type: bool) | |