From: Thiemo Seufer Date: Tue, 26 Sep 2006 23:10:02 +0000 (+0000) Subject: 0.9.17.1: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=c3554861f21143572552a2ce8095fa9a13effa4f;p=sbcl.git 0.9.17.1: Improve thread safety. --- diff --git a/src/runtime/interrupt.c b/src/runtime/interrupt.c index 357a5b2..e010971 100644 --- a/src/runtime/interrupt.c +++ b/src/runtime/interrupt.c @@ -1189,7 +1189,7 @@ sigaction_nodefer_test_handler(int signal, siginfo_t *info, void *void_context) sigset_t empty, current; int i; sigemptyset(&empty); - sigprocmask(SIG_BLOCK, &empty, ¤t); + thread_sigmask(SIG_BLOCK, &empty, ¤t); /* There should be exactly two blocked signals: the two we added * to sa_mask when setting up the handler. NetBSD doesn't block * the signal we're handling when SA_NODEFER is set; Linux before @@ -1220,7 +1220,7 @@ see_if_sigaction_nodefer_works() { sigset_t empty; sigemptyset(&empty); - sigprocmask(SIG_SETMASK, &empty, 0); + thread_sigmask(SIG_SETMASK, &empty, 0); } kill(getpid(), SA_NODEFER_TEST_KILL_SIGNAL); while (sigaction_nodefer_works == -1); diff --git a/version.lisp-expr b/version.lisp-expr index e83a5a0..ca4393a 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.9.17" +"0.9.17.1"