Boost Users :
From: Stephen torri (storri_at_[hidden])
Date: 2005-01-04 14:09:37
On Tue, 2005-01-04 at 13:59 -0500, Doug Gregor wrote:
> > 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.
The first thing that came to mind about this was thread specific storage
(TSS). Here is a design pattern that will do what I think we need.
> Ideally, a thread-safe Signals would allow you to invoke in several
> threads at one, disconnect signals in several threads concurrently,
Ok. I get the high-level concept.
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