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

Function makeTestThread

test/Queue/FifoQueuePriorityTestCase.cpp:191–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 */
190
191DynamicThread makeTestThread(const TestThreadFunction& testThreadFunction, const unsigned int firstSequencePoint,
192 const ThreadParameters& threadParameters, SequenceAsserter& sequenceAsserter, const QueueWrapper& queueWrapper)
193{
194 return makeDynamicThread({testThreadStackSize, threadParameters.first}, testThreadFunction,
195 std::ref(sequenceAsserter), SequencePoints{firstSequencePoint, threadParameters.second + totalThreads},
196 std::cref(queueWrapper));
197}
198
199/*---------------------------------------------------------------------------------------------------------------------+
200| local constants

Callers 1

run_Method · 0.70

Calls 1

makeDynamicThreadFunction · 0.85

Tested by

no test coverage detected