Popular recipes by Heiko Wundram http://code.activestate.com/recipes/users/4039652/2007-03-06T14:11:59-08:00ActiveState Code RecipesRead-Write Lock class, RLock like (Python)
2007-03-06T14:11:59-08:00Heiko Wundramhttp://code.activestate.com/recipes/users/4039652/http://code.activestate.com/recipes/502283-read-write-lock-class-rlock-like/
<p style="color: grey">
Python
recipe 502283
by <a href="/recipes/users/4039652/">Heiko Wundram</a>
(<a href="/recipes/tags/sysadmin/">sysadmin</a>).
</p>
<p>During a recent application server design, I came across the need for a thread locking class which supports read and write locks (in the filesystem lock kind of way).</p>