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

MutexPriorityInheritanceOperationsTestCase class implementation. More...

Include dependency graph for MutexPriorityInheritanceOperationsTestCase.cpp:

Classes

class  distortos::test::anonymous_namespace{MutexPriorityInheritanceOperationsTestCase.cpp}::LockThread
 
class  distortos::test::anonymous_namespace{MutexPriorityInheritanceOperationsTestCase.cpp}::TryLockForThread
 

Namespaces

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

Functions

bool distortos::test::anonymous_namespace{MutexPriorityInheritanceOperationsTestCase.cpp}::testBasicPriorityInheritance (const Mutex::Type type)
 Tests basic priority inheritance mechanism of mutexes with PriorityInheritance protocol. More...
 
bool distortos::test::anonymous_namespace{MutexPriorityInheritanceOperationsTestCase.cpp}::testCanceledLock (const Mutex::Type type)
 Tests behavior of priority inheritance mechanism of mutexes in the event of canceled (timed-out) lock attempt. More...
 
bool distortos::test::anonymous_namespace{MutexPriorityInheritanceOperationsTestCase.cpp}::testPriorityChange (const Mutex::Type type)
 Tests behavior of priority inheritance mechanism of mutexes in the event of priority change. More...
 

Variables

constexpr uint8_t distortos::test::anonymous_namespace{MutexPriorityInheritanceOperationsTestCase.cpp}::testThreadPriority {MutexPriorityInheritanceOperationsTestCase::getTestCasePriority()}
 priority of current test thread More...
 
constexpr size_t distortos::test::anonymous_namespace{MutexPriorityInheritanceOperationsTestCase.cpp}::testThreadStackSize {512}
 size of stack for test thread, bytes More...
 

Detailed Description

MutexPriorityInheritanceOperationsTestCase 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/.