diff options
| author | Kim F. Storm | 2004-05-17 23:06:16 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-05-17 23:06:16 +0000 |
| commit | c2de28efe240194415d3030908ef24b383530689 (patch) | |
| tree | 626564690e89758add62c8d5ee60184981183fb2 | |
| parent | 89d199887d412595cfacd166cb6ac33a5bfbf4d6 (diff) | |
| download | emacs-c2de28efe240194415d3030908ef24b383530689.tar.gz emacs-c2de28efe240194415d3030908ef24b383530689.zip | |
(INPUT_BLOCKED_P): New macro.
| -rw-r--r-- | src/blockinput.h | 3 |
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; | |||
| 97 | #define TOTALLY_UNBLOCK_INPUT (interrupt_input_blocked = 0) | 97 | #define TOTALLY_UNBLOCK_INPUT (interrupt_input_blocked = 0) |
| 98 | #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT | 98 | #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT |
| 99 | 99 | ||
| 100 | /* In critical section ? */ | ||
| 101 | #define INPUT_BLOCKED_P (interrupt_input_blocked > 0) | ||
| 102 | |||
| 100 | /* Defined in keyboard.c */ | 103 | /* Defined in keyboard.c */ |
| 101 | /* Don't use a prototype here; it causes trouble in some files. */ | 104 | /* Don't use a prototype here; it causes trouble in some files. */ |
| 102 | extern void reinvoke_input_signal (); | 105 | extern void reinvoke_input_signal (); |