Skip to main content

RLock

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