【并发编程系列10】阻塞队列之SynchronousQueue,LinkedTransferQueue原理分析
LinkedTransferQueue,SynchronousQueue原理分析前言双队列SynchronousQueue公平策略(TransferQueue)初始化先put(E)再take()线程t1过来put(1)线程t2过来put(2)线程t3过来take()线程t4过来take()先take()再put(E)线程t1过来take()线程t2过来put(1)非公平策略(TransferSta