![](https://secure.gravatar.com/avatar/84965d0d894b45875d8045bc5762ba57.jpg?s=120&d=mm&r=g)
Feb. 8, 2011
4:22 a.m.
On 2011-02-08, Jason Heeris wrote:
On 8 February 2011 11:46, Stephen Thorne <stephen@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?
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. -- Regards, Stephen Thorne Development Engineer Netbox Blue