* 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.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user