コード例 #1
0
 @Override
 public void run() {
   synchronized (myQueue) {
     isProcessing = false;
     if (myQueue.isEmpty()) {
       myQueue.notifyAll();
     } else {
       startProcessing();
     }
   }
 }
コード例 #2
0
 private void wakeUpUnderLock() {
   filesToResolve.notifyAll();
 }