public void triggerCycle(){
  lock.lock();
  triggerCount++;
  contextsParked=0;
  lock.broadcast();
  lock.unlock();
}

public void triggerCycle ( ) { lock . lock ( ) ; triggerCount ++ ; contextsParked = 0 ; lock . broadcast ( ) ; lock . unlock ( ) ; }
wake up the parked threads in this group .
