Boost logo

Boost Users :

Subject: [Boost-users] Automatic thread join
From: Lloyd (lloyd_at_[hidden])
Date: 2010-01-08 01:51:16


Hi,

Is there a way to join a thread automatically to the main thread when it finishes execution?

In my case, the main thread does not call the "thread->join()", so even if the work of the thread is over, the thread never joins to the main thread. What is the technique usually used to make a thread join to its main thread, so as to avoid wastage of resources.

Thanks,
  Lloyd

___________________
Happy New Year 2010



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net