threading
Source code: threading.seq
-
class threading.Lock
Magic methods:
-
__new__()
-
__enter__()
-
__exit__()
Methods:
-
acquire(block: bool = True, timeout: float = - 1.0)
-
release()
-
class threading.RLock
Magic methods:
-
__new__()
-
__enter__()
-
__exit__()
Methods:
-
acquire(block: bool = True, timeout: float = - 1.0)
-
release()
-
threading.active_count()
-
threading.get_native_id()
-
threading.get_ident()