Commit 63ae1d20 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

src: rework early debug signal handling

Instead of installing an early debug signal handler, simply block the
SIGUSR1 signal at start-up and unblock it when the debugger is ready.

Both approaches are functionally equivalent but blocking the signal
accomplishes it in fewer lines of code.

PR-URL: https://github.com/iojs/io.js/pull/615


Reviewed-By: default avatarSam Roberts <sam@strongloop.com>
parent 5756f92f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment