boost-signals2

Force deletion of slot in boost::signals2

Hi! I have found that boost::signals2 uses sort of a lazy deletion of connected slots, which makes it difficult to use connections as something that manages lifetimes of objects. I am looking for a way to force slots to be deleted directly when disconnected. Any ideas on how to work around the problem by designing my code differently ar...

Signals and threads - good or bad design decision?

I have to write a program that performs highly computationally intensive calculations. The program might run for several days. The calculation can be separated easily in different threads without the need of shared data. I want a GUI or a web service that informs me of the current status. My current design uses BOOST::signals2 and BOOST...

interaction problem with boost.signals2 ?

Hello. I'm trying to call a signal after an booost::asio::async_read from inside a function called by boost::asio::io_service. The run function runs in a thread, and the observers are connected in a different thread. This is causing errors. It's my program or it's not possible to invoke a handler that is running in another thread from i...