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

Function makeTestThread

test/Queue/MessageQueuePriorityTestCase.cpp:197–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 */
196
197DynamicThread makeTestThread(const TestThreadFunction& testThreadFunction, const unsigned int firstSequencePoint,
198 const ThreadParameters& threadParameters, SequenceAsserter& sequenceAsserter, const QueueWrapper& queueWrapper)
199{
200 return makeDynamicThread({testThreadStackSize, threadParameters.first}, testThreadFunction,
201 std::ref(sequenceAsserter), SequencePoints{firstSequencePoint, threadParameters.second + totalThreads},
202 std::cref(queueWrapper));
203}
204
205/*---------------------------------------------------------------------------------------------------------------------+
206| local constants

Callers 1

run_Method · 0.70

Calls 1

makeDynamicThreadFunction · 0.85

Tested by

no test coverage detected