threading

Standard library module View source
class Lock
@tuple
class Lock
Fields 1
p cobj
Constructors 1
__new__
__new__()
Methods 2
acquire
acquire(self, block: bool = True, timeout: float = -1.0)
release
release(self)
Special methods 2
__enter__
__enter__(self)
__exit__
__exit__(self)
class RLock
@tuple
class RLock
Fields 1
p cobj
Constructors 1
__new__
__new__()
Methods 2
acquire
acquire(self, block: bool = True, timeout: float = -1.0)
release
release(self)
Special methods 2
__enter__
__enter__(self)
__exit__
__exit__(self)
function active_count
active_count()
function get_native_id
get_native_id()
function get_ident
get_ident()