MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / OnCreateThread

Method OnCreateThread

CppCoverage/Debugger.cpp:264–272  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

262
263 //-------------------------------------------------------------------------
264 void Debugger::OnCreateThread(
265 HANDLE hThread,
266 DWORD dwThreadId)
267 {
268 LOG_DEBUG << "Create Thread:" << dwThreadId;
269
270 if (!threadHandles_.emplace(dwThreadId, hThread).second)
271 THROW("Thread id already exist");
272 }
273
274 //-------------------------------------------------------------------------
275 void Debugger::OnExitThread(DWORD dwThreadId)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected