Created
April 26, 2010 16:33
-
-
Save zimbatm/379557 to your computer and use it in GitHub Desktop.
Signal unregistration test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sys = require("sys"), b; | |
b = process.binding('signal_watcher'); | |
(function () { | |
var w = new b.SignalWatcher(process["SIGINT"]); | |
w.stop(); | |
})(); | |
setInterval(function() { sys.puts("noop"); }, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment