summaryrefslogtreecommitdiff
path: root/src/blockinput.h
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-05-17 23:06:16 +0000
committerKim F. Storm <storm@cua.dk>2004-05-17 23:06:16 +0000
commit6293126a027323447d9c777b8029b2de0507c1c5 (patch)
tree531980bf04ff9a8ee86fa5b1e0dfdf3257b765db /src/blockinput.h
parent07183b17e93cbc4b83cebe441a01bd29e254e69a (diff)
downloademacs-6293126a027323447d9c777b8029b2de0507c1c5.tar.gz
(INPUT_BLOCKED_P): New macro.
Diffstat (limited to 'src/blockinput.h')
-rw-r--r--src/blockinput.h3
1 files changed, 3 insertions, 0 deletions
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 ();