* pinfo.cc (_pinfo::commune_send): Fix thinko in previous checkin.

This commit is contained in:
Christopher Faylor 2002-11-05 04:52:52 +00:00
parent d263732238
commit ef1bf288df
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2002-11-04 Christopher Faylor <cgf@redhat.com>
* pinfo.cc (_pinfo::commune_send): Set priority low when sleeping, * pinfo.cc (_pinfo::commune_send): Set priority low when sleeping,

View File

@ -369,7 +369,8 @@ _pinfo::commune_send (DWORD code)
break; break;
else else
{ {
DWORD prio = SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_IDLE); DWORD prio = GetThreadPriority (GetCurrentThread ());
SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_IDLE);
Sleep (0); Sleep (0);
SetThreadPriority (GetCurrentThread (), prio); SetThreadPriority (GetCurrentThread (), prio);
} }