Object类方法,会释放持有对象的锁,和notify()一起用于线程之间的通信。
Thread类方法,用于短时间暂停当前线程。
Last updated 5 years ago
Was this helpful?