Hello..
I have 3 threads in my app and I have to tell thread from another thread to do something.. (to start or stop work). At the moment I use bool stop; in class of each thread and do while(stop) Sleep(10);
I know there are better ways to do that, what would you recomment? What about semaphores?



LinkBack URL
About LinkBacks


