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...
    if(thread1.IsDone())
    {
            ...
    }
}

How can I do such a thing, any ideas?

Thanks,

Simon

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !
http://fr.ca.search.msn.com/


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