thread.LockType¶
-
thread.LockType¶ alias of
lock
Methods¶
__enter__(...) |
Lock the lock. |
__exit__(...) |
Release the lock, allowing another thread that is blocked waiting for the lock to acquire the lock. |
__format__ |
default object formatter |
__new__((S, ...) |
|
__reduce__ |
helper for pickle |
__reduce_ex__ |
helper for pickle |
__sizeof__(() -> int) |
size of object in memory, in bytes |
__subclasshook__ |
Abstract classes can override this to customize issubclass(). |
acquire(...) |
(acquire_lock() is an obsolete synonym) |
acquire_lock(...) |
Lock the lock. |
locked(...) |
(locked_lock() is an obsolete synonym) |
locked_lock(...) |
Return whether the lock is in the locked state. |
release() (release_lock() is an obsolete synonym) |
(release_lock() is an obsolete synonym) |
release_lock(...) |
Release the lock, allowing another thread that is blocked waiting for the lock to acquire the lock. |