摘要:
1 public class VolitileTest { 2 volatile static int count=0; 3 public static void main(String args[]){ 4 5 for(int i=0;i<1000;i++){ 6 new Thread(new Runnable() { 7 public void run() { 8 count++; 9 }10 }11 ... 阅读全文
posted @ 2013-11-02 11:40
feiling
阅读(256)
评论(0)
推荐(0)
浙公网安备 33010602011771号