Stub for PIDFile.

Tracks context manager entry/exit without doing anything.

Method __init__ Undocumented
Method __enter__ Enter a context using this PIDFile.
Method __exit__ Exit a context using this PIDFile.

Inherited from NonePIDFile:

Method read Read the process ID stored in this PID file.
Method writeRunningPID Store the PID of the current process in this PID file.
Method remove Remove this PID file.
Method isRunning Determine whether there is a running process corresponding to the PID in this PID file.
Method _write Store a PID in this PID file.
def __init__(self):
def __enter__(self):

Enter a context using this PIDFile.

Writes the PID file with the PID of the running process.

RaisesAlreadyRunningErrorA process corresponding to the PID in this PID file is already running.
def __exit__(self, excType, excValue, traceback):

Exit a context using this PIDFile.

Removes the PID file.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.