Attention

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

wsgidav.rw_lock

Description

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.

Classes

ReadWriteLock() Read-Write lock class.

Other Members

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.