X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fcheneygc.c;h=745c61bedb7a91d8058b6697b659b16a29a65e5f;hb=1b6dc22623c7bdc5137e98541f0e21f8f1c55caa;hp=53930cf47734455f68e4ea72ff72bbb7177e31a1;hpb=0e2c926fea68a32c8ec58f12daa0c2b5befef1d4;p=sbcl.git diff --git a/src/runtime/cheneygc.c b/src/runtime/cheneygc.c index 53930cf..745c61b 100644 --- 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 + /* 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);