Reputation: 59279
I have application that may benefit from using one of boost's signals libraries over a homegrown solution.
The application is multithreaded but the part that does the signal processing is single threaded.
Is there any reason to prefer Boost.Signals2 over Boost.Signal if multithreading is not an issue?
Upvotes: 12
Views: 5433
Reputation: 5470
Originally, if all the signals and slots were in the same thread, boost.signals was just fine. However, it is no longer being maintained -- the documentation suggests using signals2 in all new code.
Upvotes: 5
Reputation: 767
Boost.Signals is now deprecated, and Boost.Signals2 should be used instead (see v1.54 docs)
Upvotes: 10