diff options
author | Christopher Faylor <me@cgf.cx> | 2002-11-15 04:35:13 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-11-15 04:35:13 +0000 |
commit | 6597785dc2a719262309d251ac57251848a320be (patch) | |
tree | 20c0fcb5df7e1e1c09a06b31780d11965581e270 /winsup/cygwin/fhandler_console.cc | |
parent | d4990113a1fc4df05af7ec5ff63a0951432d4eb2 (diff) | |
download | cygnal-6597785dc2a719262309d251ac57251848a320be.tar.gz cygnal-6597785dc2a719262309d251ac57251848a320be.tar.bz2 cygnal-6597785dc2a719262309d251ac57251848a320be.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index c8b8ee981..70e719915 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -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 == '?') |