Some time ago, SL Baur wrote...
|+
| Kirill M Katsnelson <kkm(a)kis.ru> writes:
| ...
| > I can easily enable this for Windows only; my question is were there
| > any serious reasons to disable that code, or it has been just considered
| > useless? I cannot find any changelog for it, so the change looks
| > antemundane...
|
| I see the same #if 0's in XEmacs 19.14 (Before My Time) so this change
| was made a long time ago.
|-
Ok, I think that removing these ifdefs is the right thing. The change
potentially affects only OSes not equipped with SIGIO Generator (tm).
As for Windows, which is one of these, this does the good trick.
Kirill
1998-05-01 Kirill M. Katsnelson <kkm(a)kis.ru>
* event-stream.c (event_stream_next_event): Disable polling for
quit while XEmacs is blocked waiting for an event.
Index: src/event-stream.c
===================================================================
RCS file: /var/cvsroot/ntxemacs/src/event-stream.c,v
retrieving revision 1.8
diff --unified=2 -r1.8 event-stream.c
--- src/event-stream.c 1998/05/01 19:29:36 1.8
+++ src/event-stream.c 1998/05/01 15:33:21
@@ -558,13 +558,13 @@
clean and doesn't do this. */
emacs_is_blocking = 1;
-#if 0
- /* Do this if the poll-for-quit timer seems to be taking too
- much CPU time when idle ... */
+
+ /* Do not poll for quit while blocking, because this prevents idle
+ XEmacs from swapping out from memory */
reset_poll_for_quit ();
-#endif
+
event_stream->next_event_cb (event);
-#if 0
+
init_poll_for_quit ();
-#endif
+
emacs_is_blocking = 0;