X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fcheneygc.c;h=412183d700b4dd639a921e2d5a663e4fcd907eed;hb=3fe0010d2777b41e01ea9b4a0f894cfa40f7df1b;hp=4948da85d0e69a469da9deb6e0e42bec2bad62de;hpb=e01e7a01b67b98a47730a08dfa5d0d58518486ea;p=sbcl.git diff --git a/src/runtime/cheneygc.c b/src/runtime/cheneygc.c index 4948da8..412183d 100644 --- a/src/runtime/cheneygc.c +++ b/src/runtime/cheneygc.c @@ -140,7 +140,7 @@ collect_garbage(unsigned ignore) * from a signal handler (e.g. with the sigsegv gc_trigger stuff) */ sigemptyset(&tmp); sigaddset_blockable(&tmp); - sigprocmask(SIG_BLOCK, &tmp, &old); + thread_sigmask(SIG_BLOCK, &tmp, &old); current_static_space_free_pointer = (lispobj *) ((unsigned long) @@ -259,7 +259,7 @@ collect_garbage(unsigned ignore) #endif zero_stack(); set_auto_gc_trigger(size_retained+bytes_consed_between_gcs); - sigprocmask(SIG_SETMASK, &old, 0); + thread_sigmask(SIG_SETMASK, &old, 0); #ifdef PRINTNOISE