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

Function makeTestThread

test/Thread/ThreadSleepUntilTestCase.cpp:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 */
81
82DynamicThread makeTestThread(const TickClock::time_point now, const ThreadParameters& threadParameters,
83 SequenceAsserter& sequenceAsserter, TickClock::duration& timePointDeviation, int& sharedRet)
84{
85 return makeDynamicThread({testThreadStackSize, UINT8_MAX}, thread,
86 now + TickClock::duration{maxPhasePriority - threadParameters.first + timePointOffset},
87 std::ref(sequenceAsserter), threadParameters.second, std::ref(timePointDeviation), std::ref(sharedRet));
88}
89
90} // namespace
91

Callers 1

run_Method · 0.70

Calls 1

makeDynamicThreadFunction · 0.85

Tested by

no test coverage detected