distortos  v0.6.0
object-oriented C++ RTOS for microcontrollers
IdleThread.cpp File Reference

Idle thread definition and its low-level initializer. More...

Include dependency graph for IdleThread.cpp:

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::internal
 Internals of distortos project - should not be used directly!
 

Typedefs

using distortos::internal::anonymous_namespace{IdleThread.cpp}::IdleThread = decltype(makeStaticThread< idleThreadStackSize >(0, idleThreadFunction))
 type of idle thread More...
 

Functions

void distortos::internal::anonymous_namespace{IdleThread.cpp}::idleThreadFunction ()
 Idle thread's function. More...
 
void distortos::internal::anonymous_namespace{IdleThread.cpp}::idleThreadLowLevelInitializer ()
 Low-level initializer of idle thread. More...
 
 distortos::internal::anonymous_namespace{IdleThread.cpp}::BIND_LOW_LEVEL_INITIALIZER (20, idleThreadLowLevelInitializer)
 

Variables

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

Detailed Description

Idle thread definition and its low-level initializer.

Author
Copyright (C) 2014-2018 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.