From: Steven Watanabe (steven_at_[hidden])
Date: 2007-02-05 16:25:35
Andreas Huber <ahd6974-spamgroupstrap <at> yahoo.com> writes:
> I guess so if you want to make it easy for the users. Another option
> would be to require them to call a static initialize function from
> main() before they start any additional threads.
That is not a good idea in this case.
1) Each instantiation of the template would need it's own initialize function.
2) It is not safe to use a state_machine during the dynamic initialization phase.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk