distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
ThreadFunctionTypesTestCase.cpp File Reference

ThreadFunctionTypesTestCase class implementation. More...

#include "ThreadFunctionTypesTestCase.hpp"
#include "distortos/DynamicThread.hpp"
#include <malloc.h>
Include dependency graph for ThreadFunctionTypesTestCase.cpp:

Classes

class  distortos::test::anonymous_namespace{ThreadFunctionTypesTestCase.cpp}::Functor
 Functor class is a state-less functor. More...
 
class  distortos::test::anonymous_namespace{ThreadFunctionTypesTestCase.cpp}::Object
 Object class is a class with state. More...
 

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::test
 Functional tests of distortos project.
 

Functions

void distortos::test::anonymous_namespace{ThreadFunctionTypesTestCase.cpp}::regularFunction (uint32_t &sharedVariable, const uint32_t magicValue)
 Regular function for a thread - arguments are passed by reference and by value. More...
 

Variables

constexpr size_t distortos::test::anonymous_namespace{ThreadFunctionTypesTestCase.cpp}::testThreadStackSize {512}
 size of stack for test thread, bytes More...
 

Detailed Description

ThreadFunctionTypesTestCase class implementation.

Author
Copyright (C) 2014-2017 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/.