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

Variables

const std::array< ThreadParameters, totalThreadsuniquePriorities
 array with unique priorities and expected sequence points More...
 
const std::array< ThreadParameters, totalThreadsnonUniquePriorities
 array with non-unique priorities and expected sequence points More...
 

Variable Documentation

◆ nonUniquePriorities

const std::array<ThreadParameters, totalThreads> distortos::test::anonymous_namespace{priorityTestPhases.cpp}::nonUniquePriorities
Initial value:
{{
{maxPhasePriority - 0, 0},
{maxPhasePriority - 0, 1},
{maxPhasePriority - 0, 2},
{maxPhasePriority - 0, 3},
{maxPhasePriority - 1, 4},
{maxPhasePriority - 1, 5},
{maxPhasePriority - 1, 6},
{maxPhasePriority - 1, 7},
}}
constexpr uint8_t maxPhasePriority
max priority used in test phases
Definition: priorityTestPhases.hpp:34

array with non-unique priorities and expected sequence points

◆ uniquePriorities

const std::array<ThreadParameters, totalThreads> distortos::test::anonymous_namespace{priorityTestPhases.cpp}::uniquePriorities
Initial value:
{{
{maxPhasePriority - 0, 0},
{maxPhasePriority - 1, 1},
{maxPhasePriority - 2, 2},
{maxPhasePriority - 3, 3},
{maxPhasePriority - 4, 4},
{maxPhasePriority - 5, 5},
{maxPhasePriority - 6, 6},
{maxPhasePriority - 7, 7},
}}
constexpr uint8_t maxPhasePriority
max priority used in test phases
Definition: priorityTestPhases.hpp:34

array with unique priorities and expected sequence points