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

Function RunThread

TestCoverageConsole/TestThread.cpp:26–33  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

24{
25 //-----------------------------------------------------------------------------
26 void RunThread()
27 {
28 std::thread t([]()
29 {
30 int answer = 42;
31 });
32 t.join();
33 }
34}

Callers 1

_tmainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected