sigset_t mask;
struct thread *thread = arch_os_get_current_thread();
#ifndef LISP_FEATURE_WIN32
- thread_sigmask(SIG_SETMASK, NULL, &mask);
+ get_current_sigmask(&mask);
printf("Signal mask:\n");
printf(" SIGALRM = %d\n", sigismember(&mask, SIGALRM));
printf(" SIGINT = %d\n", sigismember(&mask, SIGINT));
printf(" SIGPROF = %d\n", sigismember(&mask, SIGPROF));
-#ifdef SIG_INTERRUPT_THREAD
- printf(" SIG_INTERRUPT_THREAD = %d\n", sigismember(&mask, SIG_INTERRUPT_THREAD));
-#endif
#ifdef SIG_STOP_FOR_GC
printf(" SIG_STOP_FOR_GC = %d\n", sigismember(&mask, SIG_STOP_FOR_GC));
#endif