Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lipstick] Handle unix signals more properly. Contribute to JB#41249
Current implementation may produce random errors on shutdown (only async-signal-safe functions can be called inside signal handler) and restoreSignalHandlers() doesn't work if original signal handling was set up with sigaction().
- Loading branch information
Showing
2 changed files
with
63 additions
and
11 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
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