m-lab / ndt

Network Diagnostic Tool
Other
11 stars 7 forks source link

Update which signals are handled by cleanup. #36

Closed stephen-soltesz closed 8 years ago

stephen-soltesz commented 8 years ago

This change removes the unconditional loop that registers the 'cleanup' signal handler for all signals and registers the handler for specific signals that perform some action in cleanup.

This is to take advantage of the default implementations for SIGINT, SIGTERM, and SIGTSTP and to avoid unnecessary handling of all other signals.

stephen-soltesz commented 8 years ago

PTAL?

pboothe commented 8 years ago

LGTM