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