boost Pump thread priority

This commit is contained in:
Glenn Maynard
2003-10-11 00:15:19 +00:00
parent 487ae05261
commit a7771a5c66
@@ -86,6 +86,9 @@ int InputHandler_Win32_Pump::InputThread_Start( void *p )
void InputHandler_Win32_Pump::InputThreadMain()
{
if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST))
LOG->Warn(werr_ssprintf(GetLastError(), "Failed to set Pump thread priority"));
vector<WindowsFileIO *> sources;
int i;
for(i = 0; i < NUM_PUMPS; ++i)