MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / SetPriority

Method SetPriority

Source/Client/NM_Engine/ThreadHelper.cpp:208–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206
207
208void CThread::SetPriority(int iPriority)
209{
210 auto bPriorityRet = g_winapiApiTable->SetThreadPriority(m_hThread, iPriority);
211 DEBUG_LOG(LL_SYS, "Set Priority completed for: %u, New: %u, Ret: %u", m_dwThreadId, iPriority, bPriorityRet ? 1 : g_winapiApiTable->GetLastError());
212}
213
214void CThread::SetRoutineCompleted(bool bCompleted)
215{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected