From: Nat Goodspeed (nat_at_[hidden])
Date: 2008-05-13 10:29:10


Alejandro Martínez wrote:

> So what i would need, is to use bind with weak pointers, and just do
> nothing if locking it fails.
>
> I'm not sure how to do that, or how to assemble a good walkaround. I'd
> like it to be as automatic as possible.

I think you should look at the thread_safe_signals library.