摘要:
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 阅读全文