diff options
author | Christopher Faylor <me@cgf.cx> | 2001-10-31 16:30:46 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-10-31 16:30:46 +0000 |
commit | 747e5773319f36839927dd67005ceab836ede48d (patch) | |
tree | 0da3a39c186ba8baa40a85f5441f327031c119eb /winsup/cygwin/exceptions.cc | |
parent | 928eca7a5814489a64bdba00bf37bda876761d45 (diff) | |
download | newlib-747e5773319f36839927dd67005ceab836ede48d.zip newlib-747e5773319f36839927dd67005ceab836ede48d.tar.gz newlib-747e5773319f36839927dd67005ceab836ede48d.tar.bz2 |
* environ.cc: Set reset_com to false to mimic linux behavior more closely.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 9fd018e..560eab4 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -1068,6 +1068,7 @@ signal_exit (int rc) causes random, inexplicable hangs. So, instead, we set up the priority of this thread really high so that it should do its thing and then exit. */ (void) SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_TIME_CRITICAL); + (void) SetThreadPriority (hMainThread, THREAD_PRIORITY_IDLE); /* Unlock any main thread mutos since we're executing with prejudice. */ muto *m; |