void signal(){
  lock.lock();
  try {
    force=true;
    cond.signalAll();
  }
  finally {
    lock.unlock();
  }
}

void signal ( ) { lock . lock ( ) ; try { force = true ; cond . signalAll ( ) ; } finally { lock . unlock ( ) ; } }
notify the worker that new entry to delete appeared .
