I need to restart the completed stream. The thread is in the (stopped) state. How to restart it?
void Work1() { while(!terminate) { Thread.Sleep(rnd.Next(5)); } } I need to restart the completed stream. The thread is in the (stopped) state. How to restart it?
void Work1() { while(!terminate) { Thread.Sleep(rnd.Next(5)); } } Source: https://ru.stackoverflow.com/questions/726672/
All Articles