Home »
Python »
Python Reference
Python RLock Class Methods
Python RLock Class has the following built-in functions.
| Method |
Description |
| acquire() |
It is used to acquire a lock, either blocking or non-blocking. |
| release() |
Releases the lock, thereby decrementing the recursion level. |
Advertisement
Advertisement