Attention

You are looking at outdated documentation for version 1.x. A newer version is available.

5.5.3.1.15. wsgidav.rw_lock

ReadWriteLock

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.

Functions

Condition(*args, **kwargs) Factory function that returns a new condition variable object.
Lock allocate_lock() -> lock object (allocate() is an obsolete synonym)
currentThread() Return the current Thread object, corresponding to the caller’s thread of control.
time() Return the current time in seconds since the Epoch.

Classes

ReadWriteLock() Read-Write lock class.