is there enough information?

castironpi at gmail.com castironpi at gmail.com
Tue Mar 4 23:12:01 EST 2008


> How does it work?  From reading threading.py, _Condition.wait()
> acquires self.lock() too many times-- that is, once to call wait
> ("cannot wait on un-aquired lock"), and once after--- are "all
> waiters" waiting back at self.acquire, just to make it to
> self.notify... and only one at a time at that!?  Don't waiters have to
> release before another waiter can go?

It's not like Condition().acquire() appends self._lock to
self._waiters *before* delegationing!  So... how?



More information about the Python-list mailing list