diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-02-25 07:46:53 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-02-25 07:46:53 +0000 |
commit | 16bd9a85dbc3be76d00459adeafa5bf918a5212d (patch) | |
tree | 9eeb5cf0099d530ca8657d1d1d9b62f621554e31 /mg.c | |
parent | 25da442874cf6136cfd7e0a24430b1ec13c17197 (diff) | |
download | perl-16bd9a85dbc3be76d00459adeafa5bf918a5212d.tar.gz |
Cleanup #18770 as suggested by Rafael.
p4raw-id: //depot/perl@18771
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -1158,21 +1158,6 @@ Perl_despatch_signals(pTHX) PL_sig_pending = 0; for (sig = 1; sig < SIG_SIZE; sig++) { if (PL_psig_pend[sig]) { -#define PERL_BLOCK_SIGNALS -#if defined(HAS_SIGPROCMASK) && defined(PERL_BLOCK_SIGNALS) - /* From sigaction(2) (FreeBSD man page): - * | Signal routines normally execute with the signal that - * | caused their invocation blocked, but other signals may - * | yet occur. - * Emulate this behavior. - */ -# define PERL_BLOCKSIG_ADD(set,sig) \ - sigset_t set; sigemptyset(&(set)); sigaddset(&(set), sig) -# define PERL_BLOCKSIG_BLOCK(set) \ - sigprocmask(SIG_BLOCK, &(set), NULL) -# define PERL_BLOCKSIG_UNBLOCK(set) \ - sigprocmask(SIG_UNBLOCK, &(set), NULL) -#endif /* HAS_SIGPROCMASK && PERL_BLOCK_SIGNALS */ PERL_BLOCKSIG_ADD(set, sig); PL_psig_pend[sig] = 0; PERL_BLOCKSIG_BLOCK(set); |