Boost logo

Boost :

Subject: Re: [boost] [signals2] documentation on signals vs signals2
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-05-04 09:41:14


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

On Saturday 02 May 2009, Ross Levine wrote:
> Is there documentation on when signals2 should be used over signals?

The main feature of Signals2 over Signals is thread-safety. Another reason to
use it is that the original Signals library will probably be deprecated and
removed eventually.

> If
> there is any time that signals is a better choice than signals2?

The original Signals library has more real-world testing, since 1.39 is the
first boost release including Signals2. It probably also has better support
for old compilers.

> I presume
> either signals2 is incompatible with code written for signals, or signals2
> is inferior to signals in some cases, but this is not documented anywhere.

There is a porting section in the documentation that describes the
differences:

http://www.boost.org/doc/libs/1_39_0/doc/html/signals2/porting.html

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

iEYEARECAAYFAkn+8HsACgkQ5vihyNWuA4UxVgCeMX3+8epwIaI8g34hR9llFrh/
ED4AoJYW9U4sntBGQmugmDfnRjsCeLtz
=XOdA
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk