Commit cdc423f2 authored by yihua.huang's avatar yihua.huang

log

parent c6661899
......@@ -53,10 +53,11 @@ public class ThreadPool {
}
}
threadAlive++;
System.out.println(threadAlive);
executorService.execute(runnable);
} finally {
condition.notify();
threadAlive--;
condition.signal();
reentrantLock.unlock();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment