threading

Source code: threading.seq

type threading.Lock

Magic methods:

__init__()
__enter__()
__exit__()

Methods:

acquire(block: bool = True, timeout: float = - 1.0)
release()
type threading.RLock

Magic methods:

__init__()
__enter__()
__exit__()

Methods:

acquire(block: bool = True, timeout: float = - 1.0)
release()
threading.active_count()
threading.get_native_id()
threading.get_ident()