164165166167168169170171172173174
m_serviceManager.release( runnableManager ); p.waitFor(); exitValue = p.exitValue(); done.acquire(); // Wait for StreadmPumper to finish compilerErr.close(); p.destroy(); tmpErr.close();
165166167168169170171172173174175
8788899091929394959697
} } }.start(); } finished.acquire(); Thread.sleep(5 * 1000); assertEquals(WORKERS * MESSAGE_COUNT, count); }