diff options
| author | Jan Djärv | 2006-08-21 12:54:47 +0000 |
|---|---|---|
| committer | Jan Djärv | 2006-08-21 12:54:47 +0000 |
| commit | 922fd3cb7b382fe0cd5cf48edc2f10f6a31bb0e6 (patch) | |
| tree | c0935395bfbae1e91ff35aeffbd8843ea26259dd /src | |
| parent | 28cb9364d7ae3bc2839a502f1c85ffb2e5ae2dcf (diff) | |
| download | emacs-922fd3cb7b382fe0cd5cf48edc2f10f6a31bb0e6.tar.gz emacs-922fd3cb7b382fe0cd5cf48edc2f10f6a31bb0e6.zip | |
Clarify difference between in_sighandler and handling_signal.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 72e6844d841..0d13743f8b5 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -100,7 +100,12 @@ int interrupt_input_pending; | |||
| 100 | /* File descriptor to use for input. */ | 100 | /* File descriptor to use for input. */ |
| 101 | extern int input_fd; | 101 | extern int input_fd; |
| 102 | 102 | ||
| 103 | /* Nonzero if we are executing from the SIGIO signal handler. */ | 103 | /* Nonzero if we are executing from the SIGIO signal handler. |
| 104 | The difference between in_sighandler and handling_signal is that | ||
| 105 | in_sighandler is only set when executing in a signal handler. | ||
| 106 | handling_signal may be set even if not executing in a signal handler, for | ||
| 107 | example when reinvoke_input_signal is called from UNBLOCK_INPUT, or | ||
| 108 | when Emacs is compiled with SYNC_INPUT defined. */ | ||
| 104 | int in_sighandler; | 109 | int in_sighandler; |
| 105 | 110 | ||
| 106 | #ifdef HAVE_WINDOW_SYSTEM | 111 | #ifdef HAVE_WINDOW_SYSTEM |