mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
(wait_reading_process_input): Use getpid when generating SIGIO.
This commit is contained in:
parent
7e47f20bba
commit
e643c5beab
1 changed files with 2 additions and 2 deletions
|
|
@ -2247,7 +2247,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
|
|||
|
||||
if (XINT (read_kbd) && interrupt_input
|
||||
&& (keyboard_bit_set (&Available)))
|
||||
kill (0, SIGIO);
|
||||
kill (getpid (), SIGIO);
|
||||
#endif
|
||||
|
||||
if (! wait_proc)
|
||||
|
|
@ -3902,7 +3902,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
|
|||
#endif
|
||||
#ifdef SIGIO
|
||||
if (XINT (read_kbd) && interrupt_input && (waitchannels & 1))
|
||||
kill (0, SIGIO);
|
||||
kill (getpid (), SIGIO);
|
||||
#endif
|
||||
|
||||
/* If we have timed out (nfds == 0) or found some input (nfds > 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue