Boost logo

Boost Users :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-02-08 17:04:25


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

In implementing some of the missing parts of thread_safe_signals, I noticed
that boost::signal provides a non-const combiner() function. In it's
current form, it can't be made thread-safe against signal invocation. Is
it worth changing the prototype from

combiner_type& combiner();

to

void set_combiner(const combiner_type &);

so the combiner can only be modified while holding the appropriate lock?

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

iD8DBQFFy55q5vihyNWuA4URAiHbAJ45kSHJDeBOCKy+s5Yc6TwzqoclkACgx7PY
vLAMNIfrlNQWu1jXFppxOj4=
=9yLn
-----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