A stand-in for threading.Lock.

Instance Variable acquired Whether this lock is presently acquired.
Method __init__ Create a lock in the un-acquired state.
Method acquire Acquire the lock. Raise an exception if the lock is already acquired.
Method release Release the lock. Raise an exception if the lock is not presently acquired.
acquired =
Whether this lock is presently acquired.
def __init__(self):

Create a lock in the un-acquired state.

def acquire(self):

Acquire the lock. Raise an exception if the lock is already acquired.

def release(self):

Release the lock. Raise an exception if the lock is not presently acquired.

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