SynchronousQueue和LinkedBlockingQueue区别
摘要:
在多线程开发中,会用到SynchronousQueue(new CachedThreadPool())和LinkedBlockingQueue(new FixedThreadPoll()) 我们来简单分析一下这两个队列的区别 SynchronousQueue: offer():当线程offer操作时 阅读全文
posted @ 2018-12-13 23:29 持续在更新 阅读(1252) 评论(0) 推荐(0)
浙公网安备 33010602011771号