diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-10-03 22:52:49 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-10-03 22:52:49 -0700 |
commit | 88d69b7ddca305bb96d6e671300f6724e4f147dd (patch) | |
tree | b2ee21fefc1376198029fba154c658c9b2cdf90f /src/keyboard.c | |
parent | 2b794d6940aa7dc58e297b3649b7799190d71f64 (diff) | |
download | emacs-88d69b7ddca305bb96d6e671300f6724e4f147dd.tar.gz emacs-88d69b7ddca305bb96d6e671300f6724e4f147dd.tar.bz2 emacs-88d69b7ddca305bb96d6e671300f6724e4f147dd.zip |
* profiler.c (handle_profiler_signal): Inhibit pending signals too,
to avoid similar races.
* keyboard.c (pending_signals): Now bool, not int.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 10dca010fb5..19ece4a22f1 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -76,9 +76,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ /* Positive if interrupt input is blocked right now. */ volatile int interrupt_input_blocked; -/* Nonzero means an input interrupt or alarm signal has arrived. +/* True means an input interrupt or alarm signal has arrived. The QUIT macro checks this. */ -volatile int pending_signals; +volatile bool pending_signals; #define KBD_BUFFER_SIZE 4096 |