* cygthread.cc (cygthread::detach): Use a slightly higher priority when waiting
for thread signalling.
This commit is contained in:
parent
7486d0c019
commit
33aca56322
@ -1,3 +1,8 @@
|
|||||||
|
2005-03-03 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* cygthread.cc (cygthread::detach): Use a slightly higher priority when
|
||||||
|
waiting for thread signalling.
|
||||||
|
|
||||||
2005-03-02 Christopher Faylor <cgf@timesys.com>
|
2005-03-02 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* autoload.cc (std_dll_init): Save and restore fpu control register
|
* autoload.cc (std_dll_init): Save and restore fpu control register
|
||||||
|
@ -316,7 +316,7 @@ cygthread::detach (HANDLE sigwait)
|
|||||||
/* Lower our priority and give priority to the read thread */
|
/* Lower our priority and give priority to the read thread */
|
||||||
HANDLE hth = GetCurrentThread ();
|
HANDLE hth = GetCurrentThread ();
|
||||||
LONG prio = GetThreadPriority (hth);
|
LONG prio = GetThreadPriority (hth);
|
||||||
(void) ::SetThreadPriority (hth, THREAD_PRIORITY_IDLE);
|
(void) ::SetThreadPriority (hth, THREAD_PRIORITY_BELOW_NORMAL);
|
||||||
|
|
||||||
HANDLE w4[2];
|
HANDLE w4[2];
|
||||||
unsigned n = 2;
|
unsigned n = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user