How to automatically remove threads from the list of threads in c#

As it is clear from the title
I want remove automatically threads from threads list when thread jobs done.
like:

Thread thr;
if(thr.done)
{
    threadlist.remove(thr);
}


Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept