Mercurial > emacs
comparison src/process.c @ 765:e4093444f9f8
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 13 Jul 1992 20:53:59 +0000 |
parents | 681c352bbf30 |
children | 707866b2a190 |
comparison
equal
deleted
inserted
replaced
764:bb24f1180bb6 | 765:e4093444f9f8 |
---|---|
1721 | 1721 |
1722 Available = input_wait_mask; | 1722 Available = input_wait_mask; |
1723 if (! XINT (read_kbd)) | 1723 if (! XINT (read_kbd)) |
1724 FD_CLR (0, &Available); | 1724 FD_CLR (0, &Available); |
1725 | 1725 |
1726 /* If screen size has changed or the window is newly mapped, | 1726 /* If frame size has changed or the window is newly mapped, |
1727 redisplay now, before we start to wait. There is a race | 1727 redisplay now, before we start to wait. There is a race |
1728 condition here; if a SIGIO arrives between now and the select | 1728 condition here; if a SIGIO arrives between now and the select |
1729 and indicates that a screen is trashed, we lose. */ | 1729 and indicates that a frame is trashed, we lose. */ |
1730 if (screen_garbaged) | 1730 if (frame_garbaged) |
1731 redisplay_preserve_echo_area (); | 1731 redisplay_preserve_echo_area (); |
1732 | 1732 |
1733 if (XINT (read_kbd) && detect_input_pending ()) | 1733 if (XINT (read_kbd) && detect_input_pending ()) |
1734 nfds = 0; | 1734 nfds = 0; |
1735 else | 1735 else |
2896 | 2896 |
2897 #include "lisp.h" | 2897 #include "lisp.h" |
2898 #include "systime.h" | 2898 #include "systime.h" |
2899 #include "termopts.h" | 2899 #include "termopts.h" |
2900 | 2900 |
2901 extern int screen_garbaged; | 2901 extern int frame_garbaged; |
2902 | 2902 |
2903 | 2903 |
2904 /* As described above, except assuming that there are no subprocesses: | 2904 /* As described above, except assuming that there are no subprocesses: |
2905 | 2905 |
2906 Wait for timeout to elapse and/or keyboard input to be available. | 2906 Wait for timeout to elapse and/or keyboard input to be available. |
2979 /* Cause C-g and alarm signals to take immediate action, | 2979 /* Cause C-g and alarm signals to take immediate action, |
2980 and cause input available signals to zero out timeout. */ | 2980 and cause input available signals to zero out timeout. */ |
2981 if (XINT (read_kbd) < 0) | 2981 if (XINT (read_kbd) < 0) |
2982 set_waiting_for_input (&timeout); | 2982 set_waiting_for_input (&timeout); |
2983 | 2983 |
2984 /* If a screen has been newly mapped and needs updating, | 2984 /* If a frame has been newly mapped and needs updating, |
2985 reprocess its display stuff. */ | 2985 reprocess its display stuff. */ |
2986 if (screen_garbaged) | 2986 if (frame_garbaged) |
2987 redisplay_preserve_echo_area (); | 2987 redisplay_preserve_echo_area (); |
2988 | 2988 |
2989 if (XINT (read_kbd) && detect_input_pending ()) | 2989 if (XINT (read_kbd) && detect_input_pending ()) |
2990 nfds = 0; | 2990 nfds = 0; |
2991 else | 2991 else |