摘要:
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
阅读(215)
评论(0)
推荐(0)
浙公网安备 33010602011771号