mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-20 10:23:57 +00:00
(sigunblock): Define.
This commit is contained in:
parent
496b749108
commit
0b81c94077
@ -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 */
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user