Boost logo

Boost Users :

Subject: Re: [Boost-users] [signals2][review] The review of the signals2 library (formerly thread_safe_signals) begins today, Nov 1st
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-10-20 16:28:44


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 20 October 2009, Nat Goodspeed wrote:
> Would updating to Boost 1.40 solve this problem?

No

> Or is there some
> explicit cleanup call we could/should make with a 1.39
> boost::signals2::signal?

No. Even if there was, a signal invocation concurrent with the disconnect
could keep the slot alive. So there would also need to to be a method which
blocks until all currently in progress signal invocations complete (which
might be useful to have anyways).

Can you use a shared_ptr with a custom deleter to unload your dll an ensure it
is not unloaded while it is still referenced?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkreHXwACgkQ5vihyNWuA4XiiQCghJPTWAZqGzRiCB45HFiN6DhC
LWUAoNt8KPL+5XRpxlqs6MUlBlVebeu+
=QjUc
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net