if(bool)...{
while(true)...{
synchronized(obj)...{ //第一个线程先访问obj对象,加锁
try...{
Thread.sleep(10);
}catch(Exception e)...{
e.printStackTrace();
}
synchronized(this)...{ //当被唤醒时请求this对象

