public void notifyTasks(){
  if (tracker.shouldInterruptTask()) {
    for (    Thread t : threadMap.values()) {
      t.interrupt();
    }
  }
}

public void notifyTasks ( ) { if ( tracker . shouldInterruptTask ( ) ) { for ( Thread t : threadMap . values ( ) ) { t . interrupt ( ) ; } } }
interrupts currently running tasks .
