v12/src/PerfHarness/src/com/ibm/uk/hursley/perfharness/ControlThread.java
/**
	 * Poke the ControlThread out of any sleep it is in.  This should
	 * help it react promptly to threads ending normally or abnormally.
	 */
Poke the ControlThread out of any sleep it is in.  This should
help it react promptly to threads ending normally or abnormally.
Poke the ControlThread out of any sleep it is in . This should help it react promptly to threads ending normally or abnormally .
private static synchronized void signalAllControllers() {
		synchronized ( controllers ) {
			for (final Iterator<ControlThread> iter = controllers.iterator(); iter.hasNext();) {
				final ControlThread ct = iter.next();
				Log.logger.log( Level.FINE, "Calling Thread.notifyAll() on {0}",ct.getName() ); 
				synchronized (ct) {
					ct.notifyAll();
				} 
			} 
		} 
	}
private static synchronized void signalAllControllers ( ) { synchronized ( controllers ) { for ( final Iterator < ControlThread > iter = controllers . iterator ( ) ; iter . hasNext ( ) ; ) { final ControlThread ct = iter . next ( ) ; Log . logger . log ( Level . FINE , "Calling Thread.notifyAll() on {0}" , ct . getName ( ) ) ; synchronized ( ct ) { ct . notifyAll ( ) ; } } } }
Poke the ControlThread out of any sleep it is in.
Poke the ControlThread out of any sleep it is in .
// end sych // end for // end sync