Taken from http://code.activestate.com/recipes/502283/
locks.py - Read-Write lock thread lock implementation
See the class documentation for more info.
Copyright (C) 2007, Heiko Wundram. Released under the BSD-license.
||Read-Write lock class.|
||Class that implements a condition variable.|
||allocate_lock() -> lock object (allocate() is an obsolete synonym)|
||Return the current Thread object, corresponding to the caller’s thread of control.|
||Return the current time in seconds since the Epoch.|