* exceptions.cc (setup_handler): Add debugging output. Set thread priority to

idle if pending signals to allow other threads to get into interruptible state.
* miscfuncs.cc (sys_mbstowcs): Save current thread in variable to avoid an OS
call.
* wait.cc (wait_sig): Reset thread priority each time through loop since the
priority may have been set down to deal with pending signals.
This commit is contained in:
Christopher Faylor
2002-11-15 04:35:13 +00:00
parent d4990113a1
commit 6597785dc2
5 changed files with 27 additions and 9 deletions

View File

@@ -1556,9 +1556,7 @@ fhandler_console::write (const void *vsrc, size_t len)
src++;
}
else if (isalpha (*src))
{
dev_state->state_ = gotcommand;
}
dev_state->state_ = gotcommand;
else if (*src != '@' && !isalpha (*src) && !isdigit (*src))
{
if (*src == '?')