distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
UnblockReason.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_INTERNAL_SCHEDULER_UNBLOCKREASON_HPP_
13 #define INCLUDE_DISTORTOS_INTERNAL_SCHEDULER_UNBLOCKREASON_HPP_
14 
16 
17 #include <cstdint>
18 
19 namespace distortos
20 {
21 
22 namespace internal
23 {
24 
26 enum class UnblockReason : uint8_t
27 {
31  timeout,
32 
33 #if DISTORTOS_SIGNALS_ENABLE == 1
34 
36  signal,
37 
38 #endif // DISTORTOS_SIGNALS_ENABLE == 1
39 };
40 
41 } // namespace internal
42 
43 } // namespace distortos
44 
45 #endif // INCLUDE_DISTORTOS_INTERNAL_SCHEDULER_UNBLOCKREASON_HPP_
timeout - unblock via software timer
signal handler - unblock to deliver unmasked signal
distortos configuration
Top-level namespace of distortos project.
Definition: buttons.hpp:33
UnblockReason
reason of thread unblocking
Definition: UnblockReason.hpp:26
explicit request to unblock the thread - normal unblock