Expose USR1 and USR2 signals to users of AbstractSignalHandler if they bind instances of a
SignalReceiver class for those signals. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5979 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -44,6 +44,12 @@ public class NativeSignalHandler extends AbstractSignalHandler
|
||||
case SignalManager.SIGHUP:
|
||||
hupReceived();
|
||||
break;
|
||||
case SignalManager.SIGUSR1:
|
||||
usr1Received();
|
||||
break;
|
||||
case SignalManager.SIGUSR2:
|
||||
usr2Received();
|
||||
break;
|
||||
default:
|
||||
log.warning("Received unknown signal", "signo", signo);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user