Skip to content

Commit

Permalink
Reset thread priority to default
Browse files Browse the repository at this point in the history
  • Loading branch information
uroni committed Dec 22, 2016
1 parent 0504946 commit 27bcd5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fileservplugin/CUDPThread.cpp
Expand Up @@ -251,6 +251,10 @@ void CUDPThread::operator()(void)
{
delete this;
}

#ifdef _WIN32
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_NORMAL);
#endif
}

bool CUDPThread::UdpStep(void)
Expand Down

0 comments on commit 27bcd5d

Please sign in to comment.