ID EN
Threading

Lock

Python 3.11

The class implementing primitive lock objects. Once a thread has acquired a lock, subsequent attempts to acquire it block, until it is released; any thread may release it.

Syntax

PYTHON
class threading.Lock

See Also

RuntimeError