摘要: public class TestSynchronizeKey { public static void main(String[] args) { LastWater water = new LastWater(); for(int i = 0 ; i < 3000; i ++) { Thread thread = new Thread(water, "thread-"+i+":"); thread.start(); } }}class LastWater implements Runnable{ private SimulateClass si 阅读全文
posted @ 2013-12-18 11:21 nosmall 阅读(208) 评论(0) 推荐(0) 编辑