I my test class I really need to sleep for some amount of time. It's an integration test involving periodic remote call. for (int i = 0; i < 16; i++) { /
I am having a problem in the synchronisation of threads. I m trying to implement sleeping barber problem in a different approach. When i run the code the thread