From: Gerd Moellmann Date: Wed, 28 Jun 2000 11:51:19 +0000 (+0000) Subject: (sigunblock): Define. X-Git-Tag: emacs-pretest-21.0.90~3043 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b81c940772a855ac39f2049829df754303ebd3b;p=emacs.git (sigunblock): Define. --- diff --git a/src/s/isc4-0.h b/src/s/isc4-0.h index 53d0c07aea5..ccd6cb0627f 100644 --- a/src/s/isc4-0.h +++ b/src/s/isc4-0.h @@ -23,5 +23,8 @@ #define sigblock(sig) \ (sigprocmask_set = SIGEMPTYMASK | (sig), \ sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL)) +#define sigunblock(sig) \ + (sigprocmask_set = SIGFULLMASK & ~(sig), \ + sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL)) #endif #endif /* not POSIX_SIGNALS */ diff --git a/src/s/sco5.h b/src/s/sco5.h index 89168b2068e..863f303f7a7 100644 --- a/src/s/sco5.h +++ b/src/s/sco5.h @@ -135,6 +135,9 @@ Boston, MA 02111-1307, USA. */ #define sigblock(sig) \ (sigprocmask_set = SIGEMPTYMASK | (sig), \ sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL)) +#define sigunblock(sig) \ + (sigprocmask_set = SIGFULLMASK & ~(sig), \ + sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL)) #ifndef PENDING_OUTPUT_COUNT #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)