X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Finterrupt.h;h=ec7899967381c5993e45df411077b598c7d25831;hb=5e92e9ed61903658015c2a75c79a32ad41dbd29d;hp=ae7202092f8ca88842f8fe22db158f7f99c7005f;hpb=47eb330ef0f3b99d24c0e24d897b757f16950c4b;p=sbcl.git diff --git a/src/runtime/interrupt.h b/src/runtime/interrupt.h index ae72020..ec78999 100644 --- a/src/runtime/interrupt.h +++ b/src/runtime/interrupt.h @@ -45,10 +45,9 @@ union interrupt_handler { void (*c)(int, siginfo_t*, void*); }; -struct interrupt_data { - void (*interrupt_low_level_handlers[NSIG]) (int, siginfo_t*, void*) ; - union interrupt_handler interrupt_handlers[NSIG]; +extern union interrupt_handler interrupt_handlers[NSIG]; +struct interrupt_data { /* signal information for pending signal. pending_signal=0 when there * is no pending signal. */ void (*pending_handler) (int, siginfo_t*, void*) ; @@ -96,6 +95,8 @@ void sigaddset_deferrable(sigset_t *s); /* Set all blockable signals into *s. */ void sigaddset_blockable(sigset_t *s); +extern void block_blockable_signals(); + /* The void* casting here avoids having to mess with the various types * of function argument lists possible for signal handlers: * SA_SIGACTION handlers have one signature, and the default old-style