diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0a93ec8be..0ddf15893 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-03-03 Christopher Faylor + + * cygthread.cc (cygthread::detach): Use a slightly higher priority when + waiting for thread signalling. + 2005-03-02 Christopher Faylor * autoload.cc (std_dll_init): Save and restore fpu control register diff --git a/winsup/cygwin/cygthread.cc b/winsup/cygwin/cygthread.cc index 93b5cffcd..9cdeac84b 100644 --- a/winsup/cygwin/cygthread.cc +++ b/winsup/cygwin/cygthread.cc @@ -316,7 +316,7 @@ cygthread::detach (HANDLE sigwait) /* Lower our priority and give priority to the read thread */ HANDLE hth = GetCurrentThread (); LONG prio = GetThreadPriority (hth); - (void) ::SetThreadPriority (hth, THREAD_PRIORITY_IDLE); + (void) ::SetThreadPriority (hth, THREAD_PRIORITY_BELOW_NORMAL); HANDLE w4[2]; unsigned n = 2;