[pypy-commit] stmgc default: we may need SA_NODEFER if we want to use longjmp() in the signal handler (in the future)
Raemi
noreply at buildbot.pypy.org
Mon Sep 8 14:29:52 CEST 2014
Author: Remi Meier <remi.meier at inf.ethz.ch>
Branch:
Changeset: r1367:4b84c28290c5
Date: 2014-09-08 14:30 +0200
http://bitbucket.org/pypy/stmgc/changeset/4b84c28290c5/
Log: we may need SA_NODEFER if we want to use longjmp() in the signal
handler (in the future)
diff --git a/c8/stm/setup.c b/c8/stm/setup.c
--- a/c8/stm/setup.c
+++ b/c8/stm/setup.c
@@ -78,7 +78,7 @@
act.sa_sigaction = &_signal_handler;
/* The SA_SIGINFO flag tells sigaction() to use the sa_sigaction field, not sa_handler. */
- act.sa_flags = SA_SIGINFO;
+ act.sa_flags = SA_SIGINFO | SA_NODEFER;
if (sigaction(SIGSEGV, &act, NULL) < 0) {
perror ("sigaction");
More information about the pypy-commit
mailing list