摘要: http://docs.oracle.com/javase/tutorial/essential/concurrency/sync.htmlthread interferencememory consistency errorsclass Counter { private int c = 0;记不起来,在类中似乎有变量不能赋值的。memory consistency errors:happens-before relationshiphttp://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.htmlwo ... 阅读全文
posted @ 2013-07-15 16:49 xtypeu 阅读(122) 评论(0) 推荐(0) 编辑