0.9.17.2: fix two potential GC deadlocks
[sbcl.git] / src / runtime / interrupt.c
index e010971..0d219b0 100644 (file)
@@ -186,6 +186,14 @@ block_blockable_signals(void)
 #endif
 }
 
+void
+block_deferrable_signals(void)
+{
+#ifndef LISP_FEATURE_WIN32
+    thread_sigmask(SIG_BLOCK, &deferrable_sigset, 0);
+#endif
+}
+
 \f
 /*
  * utility routines used by various signal handlers