distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
distortos::test::anonymous_namespace{ThreadPriorityTestCase.cpp} Namespace Reference

Functions

void thread (SequenceAsserter &sequenceAsserter, const unsigned int sequencePoint)
 Test thread. More...
 
DynamicThread makeTestThread (const ThreadParameters &threadParameters, SequenceAsserter &sequenceAsserter)
 Builder of test threads. More...
 

Variables

constexpr size_t testThreadStackSize {512}
 size of stack for test thread, bytes More...
 

Function Documentation

◆ makeTestThread()

DynamicThread distortos::test::anonymous_namespace{ThreadPriorityTestCase.cpp}::makeTestThread ( const ThreadParameters threadParameters,
SequenceAsserter sequenceAsserter 
)

Builder of test threads.

Parameters
[in]threadParametersis a reference to ThreadParameters object
[in]sequenceAsserteris a reference to SequenceAsserter shared object
Returns
constructed DynamicThread object
Here is the call graph for this function:
Here is the caller graph for this function:

◆ thread()

void distortos::test::anonymous_namespace{ThreadPriorityTestCase.cpp}::thread ( SequenceAsserter sequenceAsserter,
const unsigned int  sequencePoint 
)

Test thread.

Just marks the sequence point in SequenceAsserter.

Parameters
[in]sequenceAsserteris a reference to SequenceAsserter shared object
[in]sequencePointis the sequence point of this instance
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ testThreadStackSize

constexpr size_t distortos::test::anonymous_namespace{ThreadPriorityTestCase.cpp}::testThreadStackSize {512}

size of stack for test thread, bytes