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

Jason Heeris jason.heeris at gmail.com
Mon Feb 7 21:03:10 MST 2011


On 8 February 2011 11:46, Stephen Thorne <stephen at thorne.id.au> wrote:
> Um, that's what I mean, you shouldn't be using .acquire() or .release(),
> just .run(). doSerialStuff doesn't need a reference to the semaphore
> object.

So... how can I update the property and emit the signal upon
acquisition and release? Or are you saying I should stick with what I
had?

— Jason




More information about the Twisted-Python mailing list