mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 12:05:47 +08:00
* pinfo.cc (_pinfo::commune_send): Fix thinko in previous checkin.
This commit is contained in:
parent
d263732238
commit
ef1bf288df
@ -1,3 +1,7 @@
|
||||
2002-11-04 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* pinfo.cc (_pinfo::commune_send): Fix thinko in previous checkin.
|
||||
|
||||
2002-11-04 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* pinfo.cc (_pinfo::commune_send): Set priority low when sleeping,
|
||||
|
@ -369,7 +369,8 @@ _pinfo::commune_send (DWORD code)
|
||||
break;
|
||||
else
|
||||
{
|
||||
DWORD prio = SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_IDLE);
|
||||
DWORD prio = GetThreadPriority (GetCurrentThread ());
|
||||
SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_IDLE);
|
||||
Sleep (0);
|
||||
SetThreadPriority (GetCurrentThread (), prio);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user