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

mutexTestUnlockFromWrongThread() implementation More...

#include "mutexTestUnlockFromWrongThread.hpp"
#include "waitForNextTick.hpp"
#include "distortos/DynamicThread.hpp"
#include "distortos/Mutex.hpp"
#include <cerrno>
Include dependency graph for mutexTestUnlockFromWrongThread.cpp:

Namespaces

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

Functions

bool distortos::test::mutexTestUnlockFromWrongThread (Mutex &mutex)
 Tests unlocking of ErrorChecking or Recursive mutex from a wrong thread. More...
 

Variables

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

Detailed Description

mutexTestUnlockFromWrongThread() implementation

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