V
Vai2000
Hi All, I have a ClassA and a worker ClassB.
in my ClassA I have a method which calls the following routine
for(int idx=0;idx<10;idx++)
{
ClassB ob=new ClassB();
ThreadPool.QueueUserWorkItem(new WaitCallback(ob.Exec));
}
I want to know/signal when all the Worker ClassB are done?
TIA
in my ClassA I have a method which calls the following routine
for(int idx=0;idx<10;idx++)
{
ClassB ob=new ClassB();
ThreadPool.QueueUserWorkItem(new WaitCallback(ob.Exec));
}
I want to know/signal when all the Worker ClassB are done?
TIA