Description
Use a faster reentrant lock implementation in CPython programs. It helps performance-sensitive code coordinate repeated access to shared resources while allowing the same thread to acquire the lock more than once.
This is a low-level concurrency library. Faster locking does not remove the need to design thread interactions carefully, and projects should test for deadlocks, races, and cleanup failures.