diff options
author | Christopher Faylor <me@cgf.cx> | 2002-11-26 20:32:39 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-11-26 20:32:39 +0000 |
commit | b263d1d8d3d815c0c62423b0eba4cbd2c4670d94 (patch) | |
tree | 240efdba1ffb71602c6e7866ee5399ffdb9b55e2 /winsup/cygwin/tty.cc | |
parent | b3cc01b02bd728a8b10e362b6f23566cbd451003 (diff) | |
download | cygnal-b263d1d8d3d815c0c62423b0eba4cbd2c4670d94.tar.gz cygnal-b263d1d8d3d815c0c62423b0eba4cbd2c4670d94.tar.bz2 cygnal-b263d1d8d3d815c0c62423b0eba4cbd2c4670d94.zip |
* fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal Sleep
or suffer amazing pauses when other tty apps are running.
(fhandler_pty_master::process_slave_output): Ditto.
Diffstat (limited to 'winsup/cygwin/tty.cc')
-rw-r--r-- | winsup/cygwin/tty.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc index 448dfdadc..242a2a846 100644 --- a/winsup/cygwin/tty.cc +++ b/winsup/cygwin/tty.cc @@ -218,12 +218,12 @@ tty_list::allocate_tty (int with_console) SetConsoleTitle (buf); for (int times = 0; times < 25; times++) { - low_priority_sleep (10); + Sleep (10); if ((console = FindWindow (NULL, buf))) break; } SetConsoleTitle (oldtitle); - low_priority_sleep (40); + Sleep (40); ReleaseMutex (title_mutex); if (console == NULL) { |