1
Answer

how can we restart the thread

i am creating thread as like

Thread t=new Thread(new ThreadStart(thMethod));

in function 1 i call that thread

function1()
{
t.start();

}
in function 2 i want to start the same thread object

function2()
{
   t.start() //here problem is Thread is running or terminated; it cannot restart.

}

how can i restart that thread object with out again initialization  
Answers (1)