Filesystem-based interprocess mutex.

Function unique Undocumented
Function kill 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.
def unique(): (source)
Undocumented
def kill(pid, signal): (source)
Undocumented
def symlink(value, filename): (source)

Write a file at filename with the contents of value. See the above comment block as to why this is needed.

def readlink(filename): (source)

Read the contents of filename. See the above comment block as to why this is needed.

def rmlink(filename): (source)
Undocumented
def isLocked(name): (source)

Determine if the lock of the given name is held or not.

ParametersnameThe filesystem path to the lock to test (type: str)
ReturnsTrue if the lock is held, False otherwise. (type: bool)
API Documentation for Twisted, generated by pydoctor at 2016-04-04 15:02:49.