Decrement the run count. If this returns to zero notify any test waiting. count--; if (count <= 0) { synchronized (RequestAPITest.syncObj) { RequestAPITest.syncObj.notifyAll(); } }
count--; if (count <= 0) { synchronized (RequestAPITest.syncObj) { RequestAPITest.syncObj.notifyAll(); } }
count++;