| 230 | } |
| 231 | |
| 232 | std::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 | |
| 241 | std::shared_ptr <SSelfThreads> CThreadManager::GetThreadInfo(int iThreadCode) |
| 242 | { |
no outgoing calls
no test coverage detected