* 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…
	
		Reference in New Issue