projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.7.25:
[sbcl.git]
/
src
/
runtime
/
cheneygc.c
diff --git
a/src/runtime/cheneygc.c
b/src/runtime/cheneygc.c
index
53930cf
..
745c61b
100644
(file)
--- a/
src/runtime/cheneygc.c
+++ b/
src/runtime/cheneygc.c
@@
-136,6
+136,8
@@
collect_garbage(unsigned ignore)
gettimeofday(&start_tv, (struct timezone *) 0);
#endif
gettimeofday(&start_tv, (struct timezone *) 0);
#endif
+ /* it's possible that signals are blocked already if this was called
+ * from a signal handler (e.g. with the sigsegv gc_trigger stuff) */
sigemptyset(&tmp);
sigaddset_blockable(&tmp);
sigprocmask(SIG_BLOCK, &tmp, &old);
sigemptyset(&tmp);
sigaddset_blockable(&tmp);
sigprocmask(SIG_BLOCK, &tmp, &old);