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

Method GetThreadFromHandle

Source/Client/NM_Engine/ThreadManagerHelper.cpp:232–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232std::shared_ptr <CThread> CThreadManager::GetThreadFromHandle(HANDLE hThread)
233{
234 for (const auto & thread : m_vThreadList)
235 if (thread->hThread == hThread)
236 return thread->customThread;
237
238 return nullptr;
239}
240
241std::shared_ptr <SSelfThreads> CThreadManager::GetThreadInfo(int iThreadCode)
242{

Callers 2

CThreadMethod · 0.80
CheckThreadExFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected