* pinfo.cc (_pinfo::commune_send): Fix thinko in previous checkin.
This commit is contained in:
		| @@ -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); | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user