is there enough information?

castironpi at castironpi at
Wed Mar 5 05:12:01 CET 2008

> How does it work?  From reading, _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