ID EN
Multiprocessing

RLock

Python 3.11

A recursive lock object: a close analog of threading.RLock. A recursive lock must be released by the process or thread that acquired it. Once a process or thread has acquired a recursive lock, the same process or thread may acquire it again without blocking; that process or thread must release it once for each time it has been acquired.

Syntax

PYTHON
class multiprocessing.RLock

See Also

threading.RLock RLock RLock context manager with threading.RLock.acquire() Lock.acquire() threading.RLock.acquire()