don't run ThreadMessageHandler at lowered priority

There's no clear reason ThreadMessageHandler should be low priority.
Fixes #8010 (priority inversion).
This commit is contained in:
Kaz Wesley
2016-05-05 11:55:46 -07:00
committed by lateminer
parent 5c11a7c29b
commit e8222a467f
4 changed files with 0 additions and 26 deletions

View File

@@ -811,19 +811,6 @@ bool SetupNetworking()
return true;
}
void SetThreadPriority(int nPriority)
{
#ifdef WIN32
SetThreadPriority(GetCurrentThread(), nPriority);
#else // WIN32
#ifdef PRIO_THREAD
setpriority(PRIO_THREAD, 0, nPriority);
#else // PRIO_THREAD
setpriority(PRIO_PROCESS, 0, nPriority);
#endif // PRIO_THREAD
#endif // WIN32
}
int GetNumCores()
{
#if BOOST_VERSION >= 105600