changeset 5218:a1009fb6aa1a

(update_frame): Only call sleep (outq / baud_rate) if baud_rate >= OUTQ. Calling sleep (0) causes a gratuitous delay on some systems.
author Roland McGrath <roland@gnu.org>
date Wed, 15 Dec 1993 01:59:43 +0000
parents 36bd4445894c
children 843d408019c8
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Mon Dec 13 17:23:04 1993 +0000
+++ b/src/dispnew.c	Wed Dec 15 01:59:43 1993 +0000
@@ -1065,7 +1065,7 @@
 			outq = PENDING_OUTPUT_COUNT (stdout);
 #endif
 		      outq *= 10;
-		      if (baud_rate > 0)
+		      if (baud_rate >= outq)
 			sleep (outq / baud_rate);
 		    }
 		}