Java uses SIGUSR1 for interrupting threads when it wants to send them an
asynchronous exception, so we can't use it or badness will ensue. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4235 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -107,9 +107,9 @@ public class PresentsServer
|
||||
", jvm=" + si.jvmToString() +
|
||||
", mem=" + si.memoryToString() + "].");
|
||||
|
||||
// register SIGINT (ctrl-c) and a SIGUSER1 handlers
|
||||
// register SIGINT (ctrl-c) and a SIGHUP handlers
|
||||
SignalManager.registerSignalHandler(SignalManager.SIGINT, this);
|
||||
SignalManager.registerSignalHandler(SignalManager.SIGUSR1, this);
|
||||
SignalManager.registerSignalHandler(SignalManager.SIGHUP, this);
|
||||
|
||||
// create our list of shutdowners
|
||||
_downers = new ObserverList(ObserverList.SAFE_IN_ORDER_NOTIFY);
|
||||
|
||||
Reference in New Issue
Block a user