-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Hughes, James Sent: Thursday, June 14, 2007 4:24 AM To: boost-users@lists.boost.org Subject: [Boost-users] [Function][bind]Using function to store arbitrary class and arbitrary function
There may well be better ways of doing what we need - those thoughts also gratefully received (nb. Working in a multithreaded environment, so boost:signals may not be appropriate)
[Nat] I'll echo Doug in saying that Boost.Signal was designed for use cases like yours. We use Boost.Signal very successfully in a mixed C++ and Python environment. Ours is single-threaded. Please have a look at the mail archive as well: there has been a recent fairly extensive discussion about a thread-safe implementation of (a close approximation of) the Boost.Signal interface.