摘要: wait()方法 线程进入等待池中 synchronized void notice() throws InterruptedException {// ready=true;// notify(); Thread r=new Thread(); r.wait(); } notifyAll()方法( 阅读全文