摘要: 转自:https://www.cnblogs.com/java-zzl/p/9741288.html 一、通过SynchronousQueue方式实现线程间数据传递: 线程A与线程B共同持有一个SynchronousQueue的引用,线程B调用take方法,阻塞以等待; 线程A运行后计算出结果,将结 阅读全文
posted @ 2019-03-19 16:29 Sharpest 阅读(1861) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.51cto.com/lavasoft/222738 阅读全文
posted @ 2019-03-19 14:40 Sharpest 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.51cto.com/lavasoft/222541 阅读全文
posted @ 2019-03-19 12:09 Sharpest 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.51cto.com/lavasoft/222536 阅读全文
posted @ 2019-03-19 11:44 Sharpest 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.51cto.com/lavasoft/222530 阅读全文
posted @ 2019-03-19 10:15 Sharpest 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.51cto.com/lavasoft/222524 阅读全文
posted @ 2019-03-19 10:06 Sharpest 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.51cto.com/lavasoft/222469 阅读全文
posted @ 2019-03-19 09:55 Sharpest 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.51cto.com/lavasoft/222433 阅读全文
posted @ 2019-03-19 09:48 Sharpest 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.51cto.com/lavasoft/222084 阅读全文
posted @ 2019-03-19 09:36 Sharpest 阅读(124) 评论(0) 推荐(0) 编辑