-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When uninstalling signal handlers disable them instead of uninstalling. Do it this way because: 1. Signal handlers installed after ours can take our signal handling function address and chain to it. In this case the function must always work. 2. If multiple signal handlers for same signal are installed after ours we can't remove ours without removing all but the last installed one. Because we don't uninstall our signal handlers we now directly call previously installed signal handlers.
- Loading branch information
1 parent
75ea085
commit 37ed7ca
Showing
1 changed file
with
40 additions
and
17 deletions.
There are no files selected for viewing
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