rocklib / rocklib.threading Goto Github PK
View Code? Open in Web Editor NEWAn object that enables exclusive access to critical sections of code. Unlike a true lock, where a thread will block while another thread has the lock, a "soft lock" will cause a thread to skip over a critical section of code if another thread has the lock.
License: MIT License