0.9.17.1:
authorThiemo Seufer <ths@networkno.de>
Tue, 26 Sep 2006 23:10:02 +0000 (23:10 +0000)
committerThiemo Seufer <ths@networkno.de>
Tue, 26 Sep 2006 23:10:02 +0000 (23:10 +0000)
Improve thread safety.

src/runtime/interrupt.c
version.lisp-expr

index 357a5b2..e010971 100644 (file)
@@ -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, &current);
+    thread_sigmask(SIG_BLOCK, &empty, &current);
     /* 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);
index e83a5a0..ca4393a 100644 (file)
@@ -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"