Is it possible to pause all other threads running while a thread is doing something specific? For making my question lets assume I have the following method
public void doActions()
{
......
......
......
if(count == 30)
{
//This is where I want to pause all other running threads
}
......
......
......
}
Regards!