mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 05:21:37 -07:00
(update_frame): Only call sleep (outq / baud_rate) if baud_rate >= OUTQ.
Calling sleep (0) causes a gratuitous delay on some systems.
This commit is contained in:
parent
a067cd24a5
commit
4d9c0ca4d6
1 changed files with 1 additions and 1 deletions
|
|
@ -1065,7 +1065,7 @@ update_frame (f, force, inhibit_hairy_id)
|
|||
outq = PENDING_OUTPUT_COUNT (stdout);
|
||||
#endif
|
||||
outq *= 10;
|
||||
if (baud_rate > 0)
|
||||
if (baud_rate >= outq)
|
||||
sleep (outq / baud_rate);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue