distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
MutexType.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_MUTEXTYPE_HPP_
13 #define INCLUDE_DISTORTOS_MUTEXTYPE_HPP_
14 
15 #include <cstdint>
16 
17 namespace distortos
18 {
19 
21 enum class MutexType : uint8_t
22 {
24  normal,
28  recursive,
29 };
30 
31 } // namespace distortos
32 
33 #endif // INCLUDE_DISTORTOS_MUTEXTYPE_HPP_
recursive mutex, similar to PTHREAD_MUTEX_RECURSIVE
normal mutex, similar to PTHREAD_MUTEX_NORMAL
Top-level namespace of distortos project.
Definition: buttons.hpp:33
mutex with additional error checking, similar to PTHREAD_MUTEX_ERRORCHECK
MutexType
type of mutex
Definition: MutexType.hpp:21