class documentation
A stand-in for threading.Lock
.
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. |
Instance Variable | acquired |
Whether this lock is presently acquired. |