reentrantlock
Python classes for safe deployment and management of Threads, Processes, synchronization primitives (Locks, Barriers, etc), thread-safe, and process-safe Python data structures (lists, dicts, sets, etc).