[issue8800] add threading.RWLock
Richard Oudkerk
report at bugs.python.org
Mon Oct 1 12:01:31 CEST 2012
Richard Oudkerk added the comment:
> With this, you are stuck with employing a context manager model only.
> You loose the flexibility to do explicit acquire_read() or
> acquire_write().
You are not restricted to the context manager model. Just use selock.shared.acquire() or selock.exclusive.acquire().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8800>
_______________________________________
More information about the Python-bugs-list
mailing list