如果没有其他的线程nofify或者notifyAll的话,程序是应该等待10秒的。
具体的请看sun的说明:
Some other thread invokes the notify method for this object and thread T happens to be arbitrarily chosen as the thread to be awakened. 
Some other thread invokes the notifyAll method for this object. 
Some other thread interrupts thread T. 
The specified amount of real time has elapsed, more or less. If timeout is zero, however, then real time is not taken into consideration and the thread simply waits until notified.