
18 Dec
2008
18 Dec
'08
2:29 p.m.
Hi, I've seen that when a newly created thread goes out of scope, it keeps running - this suggests to me that they are heap allocated, but can't find anywhere in the documentation that confirms this. Can someone confirm or deny this, and show me where in the docs it is if confirmed?
Destroying thread object does not kill the thread itself. "When the boost::thread object that represents a thread of execution is destroyed the thread becomes detached" http://www.boost.org/doc/libs/1_37_0/doc/html/thread/thread_management.html#...