
5 Feb
2007
5 Feb
'07
9:42 p.m.
Steven Watanabe wrote:
AMDG
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.
Right. 2) It is not safe to use a state_machine during the dynamic
initialization phase.
Correct, but at least some users might be willing to pay that price in return for a really lightweight and fast lib. -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.