
27 Dec
2006
27 Dec
'06
10:29 p.m.
Quick follow-up question: Why do you use auto_ptr<bool> when passing the flag_guard to the thread when you release it right afterwards? Is there a chance that thread's constructor or bind() might throw an exception? Not bind, but I wouldn't be surprised if thread's constructor threw,
Søren Dreijer wrote: perhaps if the underlying system function failed. Sebastian Redl