| 203 | } |
| 204 | |
| 205 | std::shared_ptr <CThread> CThreadManager::GetThreadFromThreadCode(int iThreadCode) |
| 206 | { |
| 207 | for (const auto & thread : m_vThreadList) |
| 208 | if (thread->iThreadCode == iThreadCode) |
| 209 | return thread->customThread; |
| 210 | |
| 211 | return nullptr; |
| 212 | } |
| 213 | |
| 214 | std::shared_ptr <CThread> CThreadManager::GetThreadFromId(DWORD dwThreadId) |
| 215 | { |
no outgoing calls
no test coverage detected