線程池、線程通信代碼,記憶:信號量,Lock等

線程通訊: wait - notify -notifyAll 信號量:Semaphore 線程池: 死鎖: 線程池調度器: Executors ExecutorService Executor Lock :ReentrantLock ThreadLocal 原子操作類等 一:線程通信:wait - notify -notifyAll 兩個線程:一個收雞蛋,一個母雞下蛋 public class T
相關文章
相關標籤/搜索