
30 Mar
2010
30 Mar
'10
4:35 p.m.
It looks like the new C++ standard threading library is going to call terminate() on a thread if it's being destructed, and has not been detached or joined. Is boost::thread going to change to emulate that behavior? (Currently, it calls detach(), not terminate()). I hadn't been calling detach () in my programs when I was spinning off a thread that I didn't care about joining later. Should I be doing that, just so my code works with either library?