2fb Subj : Re: boost::thread d'tor does not call endthread To : comp.programming.threads From : David Schwartz Date : Thu May 26 2005 12:07 pm "Hardy" wrote in message news:1117099885.139113.93700@g43g2000cwa.googlegroups.com... > It is possible that an exception is thrown before a join is called > which results into d'tor of thread being called. Would it be prudent to > call CloseHandle on thread handle while the thread could still be alive > and running? Yes, if you no longer need a handle to the thread. You should close the handle as soon as you no longer need the handle. If you're going to create a thread and then just let it do its thing, you should close the handle immediately. DS . 0