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

Function makeTestThread

test/Thread/ThreadSleepForTestCase.cpp:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 */
86
87DynamicThread makeTestThread(const uint8_t priority, const ThreadParameters& threadParameters,
88 SequenceAsserter& sequenceAsserter, const TickClock::time_point& sleepStart,
89 TickClock::duration& durationDeviation, int& sharedRet)
90{
91 return makeDynamicThread({testThreadStackSize, priority}, thread, maxPhasePriority - threadParameters.first,
92 std::ref(sequenceAsserter), threadParameters.second, std::cref(sleepStart), std::ref(durationDeviation),
93 std::ref(sharedRet));
94}
95
96} // namespace
97

Callers 1

run_Method · 0.70

Calls 1

makeDynamicThreadFunction · 0.85

Tested by

no test coverage detected