/* it's possible that signals are blocked already if this was called
* from a signal handler (e.g. with the sigsegv gc_trigger stuff) */
/* it's possible that signals are blocked already if this was called
* from a signal handler (e.g. with the sigsegv gc_trigger stuff) */
- sigemptyset(&tmp);
- sigaddset_blockable(&tmp);
- thread_sigmask(SIG_BLOCK, &tmp, &old);
+ block_blockable_signals(0, &old);
* the PA section */
SetSymbolValue(GC_PENDING,T,thread);
arch_set_pseudo_atomic_interrupted(context);
* the PA section */
SetSymbolValue(GC_PENDING,T,thread);
arch_set_pseudo_atomic_interrupted(context);