question: public synchronized void resetTimeLimit ( ) { if ( customer == Thread . currentThread ( ) ) { doResetTimeLimit ( ) ; notify ( ) ; } }
target:  Reset the time limit to 0. Only the thread who initiated the latest time limit can also take it back. If another thread tries to reset the time limit, it is ignored.