刘源 发表于 2012-8-23 10:04 public class Sample { private int number;
刘源 发表于 2012-8-23 10:18 notify:一次只能唤醒一个,就是把最先wait(),的那个线程唤醒。 notifyAll:而它就是把所有wait()的线程全部 ...