Life is long ......

继续向前 永不停止

   :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年6月11日

摘要: 一下翻译自java tutorial thread synchronizationsynchronization(同步)  thread interference线程通信主要是通过分享对象域和域涉及的对象引用。这个形式的通信是极其有效率的。但是有可能导致两种错误发生:threadinterference线程干扰和memoryconsistencyerrors内存一致性错误。防止这些错误发生的工具就... 阅读全文
posted @ 2010-06-11 07:27 patrickwai 阅读(1218) 评论(0) 推荐(0) 编辑