Boost logo

Boost Users :

From: Huck finn (huckfinn19_at_[hidden])
Date: 2003-10-14 10:23:13

Hi, I need a way to find out if the threads that I created are done or not.
I'm creating a somekind of thread_group that must clean the threads that
have ended from the vector that keeps the threads within.

void function ()

void main ()
    boost::thread thrd1(&function);

    //I'd need a function here to tell me that the thread has ended...

How can I do such a thing, any ideas?



MSN Search, le moteur de recherche qui pense comme vous !

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at