Lock

Standard library class threading.Lock View source
class Lock
@tuple
class Lock
Fields 1
p cobj
Constructors 1
__new__
__new__()
Defined in threading
Methods 2
acquire
acquire(self, block: bool = True, timeout: float = -1.0)
Defined in threading
release
release(self)
Defined in threading
Special methods 2
__enter__
__enter__(self)
Defined in threading
__exit__
__exit__(self)
Defined in threading