[Twisted-Python] DeferredSemaphore - action on acquire and release

Jason Heeris jason.heeris at gmail.com
Mon Feb 7 23:37:23 EST 2011


On 8 February 2011 12:22, Stephen Thorne <stephen at 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



More information about the Twisted-Python mailing list