public static void monitorSignal(final Object monitor){
synchronized (monitor) {
    monitor.notifyAll();
  }
}

public static void monitorSignal ( final Object monitor ) { synchronized ( monitor ) { monitor . notifyAll ( ) ; } }
signals the specified monitor .
