distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
mutexTestUnlockFromWrongThread.hpp
Go to the documentation of this file.
1 
12 #ifndef TEST_MUTEX_MUTEXTESTUNLOCKFROMWRONGTHREAD_HPP_
13 #define TEST_MUTEX_MUTEXTESTUNLOCKFROMWRONGTHREAD_HPP_
14 
15 namespace distortos
16 {
17 
18 class Mutex;
19 
20 namespace test
21 {
22 
33 bool mutexTestUnlockFromWrongThread(Mutex& mutex);
34 
35 } // namespace test
36 
37 } // namespace distortos
38 
39 #endif // TEST_MUTEX_MUTEXTESTUNLOCKFROMWRONGTHREAD_HPP_
bool mutexTestUnlockFromWrongThread(Mutex &mutex)
Tests unlocking of ErrorChecking or Recursive mutex from a wrong thread.
Definition: mutexTestUnlockFromWrongThread.cpp:43
Top-level namespace of distortos project.