distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
distortos::internal::anonymous_namespace{IdleThread.cpp} Namespace Reference

Typedefs

using IdleThread = decltype(makeStaticThread< idleThreadStackSize >(0, idleThreadFunction))
 type of idle thread More...
 

Functions

void idleThreadFunction ()
 Idle thread's function. More...
 
void idleThreadLowLevelInitializer ()
 Low-level initializer of idle thread. More...
 
 BIND_LOW_LEVEL_INITIALIZER (20, idleThreadLowLevelInitializer)
 

Variables

constexpr size_t idleThreadStackSize {320}
 size of idle thread's stack, bytes More...
 
std::aligned_storage< sizeof(IdleThread), alignof(IdleThread)>::type idleThreadStorage
 storage for idle thread instance More...
 

Typedef Documentation

◆ IdleThread

using distortos::internal::anonymous_namespace{IdleThread.cpp}::IdleThread = typedef decltype(makeStaticThread<idleThreadStackSize>(0, idleThreadFunction))

type of idle thread

Function Documentation

◆ idleThreadFunction()

void anonymous_namespace IdleThread distortos::internal::anonymous_namespace{IdleThread.cpp}::distortos::internal::cpp::idleThreadFunction ( )

Idle thread's function.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ idleThreadLowLevelInitializer()

void distortos::internal::anonymous_namespace{IdleThread.cpp}::idleThreadLowLevelInitializer ( )

Low-level initializer of idle thread.

This function is called before constructors for global and static objects via BIND_LOW_LEVEL_INITIALIZER().

Here is the call graph for this function:

Variable Documentation

◆ idleThreadStackSize

constexpr size_t distortos::internal::anonymous_namespace{IdleThread.cpp}::idleThreadStackSize {320}

size of idle thread's stack, bytes

◆ idleThreadStorage

std::aligned_storage<sizeof(IdleThread), alignof(IdleThread)>::type distortos::internal::anonymous_namespace{IdleThread.cpp}::idleThreadStorage

storage for idle thread instance