]> git.eshelyaron.com Git - emacs.git/commitdiff
(send_process) [EMACS_HAS_USECS]:
authorRichard M. Stallman <rms@gnu.org>
Wed, 18 Dec 1996 16:37:52 +0000 (16:37 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 18 Dec 1996 16:37:52 +0000 (16:37 +0000)
When we wait for the buffer to clear, wait just .02 second.

src/process.c

index e902cc7b51984f528a9000cbc341ceb7912bc15d..5d2f71333418f0b2422a2f78cebdc246e82a0d7e 100644 (file)
@@ -2781,7 +2781,11 @@ send_process (proc, buf, len, object)
                      offset = buf - (char *) XSTRING (object)->data;
 
                    XSETFASTINT (zero, 0);
+#ifdef EMACS_HAS_USECS
+                   wait_reading_process_input (0, 20000, zero, 0);
+#else
                    wait_reading_process_input (1, 0, zero, 0);
+#endif
 
                    if (BUFFERP (object))
                      buf = (char *) BUF_CHAR_ADDRESS (XBUFFER (object), offset);