v12/src/PerfHarness/src/com/ibm/uk/hursley/perfharness/ControlThread.java
/**
	 * Adds a signal handler which will attempt to intiate a controlled shutdown.
	 * Of course this might take a long time and the handler is stuck in a Thread.join
	 * with the ControlThread.   
	 */
Adds a signal handler which will attempt to intiate a controlled shutdown.
Of course this might take a long time and the handler is stuck in a Thread.join
with the ControlThread.
Adds a signal handler which will attempt to intiate a controlled shutdown . Of course this might take a long time and the handler is stuck in a Thread . join with the ControlThread .
protected synchronized static void installShutdownHook() {
		if (Config.parms.getBoolean("sh") && shutdownHookThread == null) {
			Runtime.getRuntime().addShutdownHook(
					shutdownHookThread = new ShutdownHook());
			Log.logger.fine("Signal handler installed");
		} 
	}
protected synchronized static void installShutdownHook ( ) { if ( Config . parms . getBoolean ( "sh" ) && shutdownHookThread == null ) { Runtime . getRuntime ( ) . addShutdownHook ( shutdownHookThread = new ShutdownHook ( ) ) ; Log . logger . fine ( "Signal handler installed" ) ; } }
Adds a signal handler which will attempt to intiate a controlled shutdown.
Adds a signal handler which will attempt to intiate a controlled shutdown .
// end if sh