MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / phase2

Function phase2

test/Thread/ThreadOperationsTestCase.cpp:132–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 */
131
132bool phase2()
133{
134 {
135 const auto ret = ThisThread::get().join(); // attempting to join current thread must fail
136 if (ret != EDEADLK)
137 return false;
138 }
139
140 return true;
141}
142
143/**
144 * \brief Phase 3 of test case

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected