12 #ifndef INCLUDE_DISTORTOS_DYNAMICTHREADPARAMETERS_HPP_ 13 #define INCLUDE_DISTORTOS_DYNAMICTHREADPARAMETERS_HPP_ 49 const size_t queuedSignalss,
const size_t signalActionss,
const uint8_t priorityy,
99 #endif // INCLUDE_DISTORTOS_DYNAMICTHREADPARAMETERS_HPP_ size_t queuedSignals
Definition: DynamicThreadParameters.hpp:78
SchedulingPolicy schedulingPolicy
scheduling policy of the thread
Definition: DynamicThreadParameters.hpp:94
size_t stackSize
size of stack, bytes
Definition: DynamicThreadParameters.hpp:85
SchedulingPolicy
scheduling policy of the thread
Definition: SchedulingPolicy.hpp:26
uint8_t priority
thread's priority, 0 - lowest, UINT8_MAX - highest
Definition: DynamicThreadParameters.hpp:91
bool canReceiveSignals
selects whether reception of signals is enabled (true) or disabled (false) for this thread
Definition: DynamicThreadParameters.hpp:88
constexpr DynamicThreadParameters(const size_t stackSizee, const bool canReceiveSignalss, const size_t queuedSignalss, const size_t signalActionss, const uint8_t priorityy, const SchedulingPolicy schedulingPolicyy=SchedulingPolicy::roundRobin)
DynamicThreadParameters's constructor.
Definition: DynamicThreadParameters.hpp:48
Top-level namespace of distortos project.
Definition: buttons.hpp:33
DynamicThreadParameters struct is a helper with parameters for DynamicThread's constructor.
Definition: DynamicThreadParameters.hpp:32
constexpr DynamicThreadParameters(const size_t stackSizee, const uint8_t priorityy, const SchedulingPolicy schedulingPolicyy=SchedulingPolicy::roundRobin)
DynamicThreadParameters's constructor.
Definition: DynamicThreadParameters.hpp:69
size_t signalActions
Definition: DynamicThreadParameters.hpp:82
round-robin scheduling policy
SchedulingPolicy enum class header.