-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to only install essential signal handlers
When embedding Julia, it is useful to opt out of some of the signal handlers (especially SIGINT). But opting out of SIGSEGV makes it very difficult to use multiple Julia threads, since the GC safepoint implementation relies on segv_handler(). This patch provides a third option to embedders, which installs the essential signal handlers but skips the optional ones. It might make sense for this to be the default when embedding, but I've kept the other two options for backwards compatibility.
- Loading branch information
1 parent
248ceda
commit b900d67
Showing
4 changed files
with
61 additions
and
37 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
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