Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
63e1efd4
Commit
63e1efd4
authored
Mar 16, 1993
by
Richard M. Stallman
Browse files
[SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input.
parent
48c9d487
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/xterm.h
src/xterm.h
+8
-0
No files found.
src/xterm.h
View file @
63e1efd4
...
...
@@ -180,8 +180,16 @@ extern int x_pending_input;
#define BLOCK_INPUT (x_input_blocked++)
/* End critical section. */
#ifdef SIGIO
/* If doing interrupt input, and an interrupt came in when input was blocked,
reinvoke the interrupt handler now to deal with it. */
#define UNBLOCK_INPUT \
((x_input_blocked--, (x_input_blocked < 0 ? (abort (), 0) : 0)), \
(x_input_blocked == 0 && x_pending_input != 0 ? (kill (0, SIGIO), 0) : 0))
#else
#define UNBLOCK_INPUT \
(x_input_blocked--, (x_input_blocked < 0 ? (abort (), 0) : 0))
#endif
#define TOTALLY_UNBLOCK_INPUT (x_input_blocked = 0)
#define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment