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

main() thread definition and its low-level initializer More...

Include dependency graph for MainThread.cpp:

Classes

class  distortos::internal::anonymous_namespace{MainThread.cpp}::MainThread
 MainThread class is a Thread for main() More...
 

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{MainThread.cpp}::MainThreadStaticSignalsReceiver = StaticSignalsReceiver< CONFIG_MAIN_THREAD_QUEUED_SIGNALS, CONFIG_MAIN_THREAD_SIGNAL_ACTIONS >
 type of StaticSignalsReceiver for main thread More...
 

Functions

Stack distortos::internal::anonymous_namespace{MainThread.cpp}::stackWrapper (const std::pair< void *, size_t > stackBuffer)
 Wrapper for Stack's constructor. More...
 
 distortos::internal::anonymous_namespace{MainThread.cpp}::BIND_LOW_LEVEL_INITIALIZER (10, &MainThread::lowLevelInitializer)
 

Variables

std::aligned_storage< sizeof(MainThread), alignof(MainThread)>::type distortos::internal::anonymous_namespace{MainThread.cpp}::mainThreadStorage
 storage for main thread instance More...
 
ThreadGroupControlBlock distortos::internal::anonymous_namespace{MainThread.cpp}::mainThreadGroupControlBlock
 main thread group More...
 
std::aligned_storage< sizeof(MainThreadStaticSignalsReceiver), alignof(MainThreadStaticSignalsReceiver)>::type distortos::internal::anonymous_namespace{MainThread.cpp}::mainThreadStaticSignalsReceiverStorage
 storage for instance of MainThreadStaticSignalsReceiver for main thread More...
 

Detailed Description

main() 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/.