Sorry, I don't think I understand the example either---looks to me like you're reimplementing a semaphore. Stephen's right about run().
Cheers, Jason On Mon, Feb 7, 2011 at 11:37 PM, Jason Heeris <jason.hee...@gmail.com>wrote: > On 8 February 2011 12:22, Stephen Thorne <step...@thorne.id.au> wrote: > > I totally misread your example, and I appologise. I've read it now and > > it looks fine to me. The only commend I'd make is that you probably want > > DeferredLock not DeferredSempahore if this is serialised access. > > No need to apologise, happens to anyone :) And thanks for the pointer > to DeferredLock, somehow I totally missed that. > > Cheers, > Jason > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > -- Jason Rennie Research Scientist, ITA Software 617-714-2645 http://www.itasoftware.com/
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python