va_list ap;
/* Block signals to prevent other threads, timers and such from
* interfering. If only all threads could be stopped somehow. */
- block_blockable_signals();
+ block_blockable_signals(0, 0);
fprintf(stderr, "fatal error encountered");
va_start(ap, fmt);
print_message(fmt, ap);
corruption_warning_and_maybe_lose(char *fmt, ...)
{
va_list ap;
+#ifndef LISP_FEATURE_WIN32
sigset_t oldset;
- thread_sigmask(SIG_BLOCK, &blockable_sigset, &oldset);
+ block_blockable_signals(0, &oldset);
+#endif
fprintf(stderr, "CORRUPTION WARNING");
va_start(ap, fmt);
print_message(fmt, ap);
fflush(stderr);
if (lose_on_corruption_p)
call_lossage_handler();
+#ifndef LISP_FEATURE_WIN32
else
thread_sigmask(SIG_SETMASK,&oldset,0);
+#endif
}
\f
/* internal error handler for when the Lisp error system doesn't exist