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

Functions

void emptyFunction ()
 Empty function used for test threads. More...
 
bool phase1 ()
 Phase 1 of test case. More...
 
bool phase2 ()
 Phase 2 of test case. More...
 
bool phase3 ()
 Phase 3 of test case. More...
 

Function Documentation

◆ emptyFunction()

void distortos::test::anonymous_namespace{ThreadOperationsTestCase.cpp}::emptyFunction ( )

Empty function used for test threads.

Here is the caller graph for this function:

◆ phase1()

bool distortos::test::anonymous_namespace{ThreadOperationsTestCase.cpp}::phase1 ( )

Phase 1 of test case.

Tests behavior of creating, starting and joining the test thread.

Returns
true if test succeeded, false otherwise
Here is the call graph for this function:
Here is the caller graph for this function:

◆ phase2()

bool distortos::test::anonymous_namespace{ThreadOperationsTestCase.cpp}::phase2 ( )

Phase 2 of test case.

Tests behavior of joining current thread.

Returns
true if test succeeded, false otherwise
Here is the call graph for this function:
Here is the caller graph for this function:

◆ phase3()

bool distortos::test::anonymous_namespace{ThreadOperationsTestCase.cpp}::phase3 ( )

Phase 3 of test case.

Tests scenarios involving thread detachment.

Returns
true if test succeeded, false otherwise
Here is the call graph for this function:
Here is the caller graph for this function: