250251252253254255256257258259260
sm.doStop(); cp.doStop(); tp.doStop(); return null; } }
251252253254255256257258259260261
7576777879808182838485
stack.drain(); sm.doStop(); tp.doStop(); } public void testClone() throws Exception { ThreadPool tp = new ThreadPool(); tp.setKeepAliveTime(100);
120121122123124125126127128129130
stack_copy.drain(); sm.doStop(); tp.doStop(); } public void setUp() throws Exception { completed = new CountDown(COUNT); }
147148149150151152153154155156157
sm.doStop(); cp.doStop(); tp.doStop(); } public void setUp() throws Exception { completed = new CountDown(COUNT); }
142143144145146147148149150151152
sm.doStop(); cp.doStop(); tp.doStop(); stopLatch.release(); return null; }
134135136137138139140141142143144
119120121122123124125126127128129
151152153154155156157158159160161