摘要: 线程安全 线程安全概念 代码示例说明1 不加synchronized关键字修饰run()方法的代码 package org.xujin.multithread; public class MyThread extends Thread { private int count = 5; public 阅读全文
posted @ 2017-01-13 15:14 红色十字军 阅读(138) 评论(0) 推荐(0)