Java并发编程实践-16章-Java内存模型
摘要:
Program order rule. Each action in a thread happens-before every action in that thread that comes later in the program order.Monitor lock rule. An unlock on a monitor lock happens-before every subsequent lock on that same monitor lock.Volatile variable rule. A write to a volatile field happens-befor 阅读全文
posted @ 2011-11-28 17:25 littlesuccess 阅读(211) 评论(0) 推荐(0) 编辑