On Wed, Sep 16, 2009 at 06:10:20PM +0200, Michael Hanselmann wrote: > Also increase the table of contents' depth to 4.
Why? Doesn't this make the TOC too big? > +Non-blocking lock acquiring > +^^^^^^^^^^^^^^^^^^^^^^^^^^^ > + > +Acquiring locks for OpCode execution is always done in blocking mode. They > +won't return until the lock has successfully been acquired (or an error > +occurred, although we won't cover that case here). > + > +``SharedLock`` and ``LockSet`` must be able to be acquired in a > +non-blocking way. They must support a timeout and abort trying to acquire > +the lock(s) after the specified amount of time. Uh, this also means that all callers must deal with this. Shouldn't just the implementation of these two change so that they don't block, but internally retry? Sorry for realising this just now. iustin
