Boost Users :
From: Doug Gregor (dgregor_at_[hidden])
Date: 2005-01-04 13:59:14
On Jan 4, 2005, at 1:25 PM, Stephen torri wrote:
> On Tue, 2005-01-04 at 13:16 -0500, Doug Gregor wrote:
>> On Jan 2, 2005, at 9:43 PM, Stephen torri wrote:
>>> What is the state of the multi-threading support for boost::signals?
>> Signals does not behave well in a multi-threaded environment. Unless
>> someone else takes on the task, I don't expect it to be done for a
> What are the symptoms of this behavior?
If you're using a signal from two threads concurrently, you will most
likely see random crashes and other bad behavior. Signals keep a lot of
state, even when they are being invoked, so just about anything can
trip it up.
> I am curious because, I am wondering in my ignorance, what are the
> components of the boost::signal library and how they can be
> capable. This ofcourse is answered by reviewing the code.
Ideally, a thread-safe Signals would allow you to invoke in several
threads at one, disconnect signals in several threads concurrently,
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