Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-09-15 12:31:15


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Robert Kindred
> I can think of one example for not fully constructing objects:
[snip]
> The problem is in starting up. If each one of these threads
> knows about
> each other via some method (pointer, or reference), then when
> a thread
> starts up its own business, whatever that is, then most
> likely it will start
> generating data and sending messages. When it tries to send
> a message to a
> thread that does not yet exist, BOOM!!! (yes, I have
> experienced this boom).

Can you not create them all, have them wait on some condition variable
and signal when you're ready to go?


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