From: Kim F. Storm Date: Mon, 17 May 2004 23:06:16 +0000 (+0000) Subject: (INPUT_BLOCKED_P): New macro. X-Git-Tag: ttn-vms-21-2-B4~6163 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2de28efe240194415d3030908ef24b383530689;p=emacs.git (INPUT_BLOCKED_P): New macro. --- diff --git a/src/blockinput.h b/src/blockinput.h index eba192c9863..e9f2f3bc217 100644 --- a/src/blockinput.h +++ b/src/blockinput.h @@ -97,6 +97,9 @@ extern int pending_atimers; #define TOTALLY_UNBLOCK_INPUT (interrupt_input_blocked = 0) #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT +/* In critical section ? */ +#define INPUT_BLOCKED_P (interrupt_input_blocked > 0) + /* Defined in keyboard.c */ /* Don't use a prototype here; it causes trouble in some files. */ extern void reinvoke_input_signal ();