C++ API threads definitions. More...
Namespaces | |
namespace | os::rtos::this_thread |
A convenience namespace to access the current running thread. | |
Classes | |
class | os::rtos::thread::attributes |
Thread attributes. More... | |
class | os::rtos::thread::context |
Thread context. More... | |
struct | os::rtos::thread::priority |
Thread priorities. More... | |
class | os::rtos::thread::stack |
Thread stack. More... | |
struct | os::rtos::thread::state |
Thread states. More... | |
class | os::rtos::thread::statistics |
Thread statistics. More... | |
class | os::rtos::thread |
POSIX compliant thread, using the default RTOS allocator. More... | |
class | os::rtos::thread_allocated< Allocator > |
Template of a POSIX compliant thread with allocator. More... | |
class | os::rtos::thread_inclusive< N > |
Template of a POSIX compliant thread with local stack. More... | |
Typedefs | |
using | os::rtos::thread::priority_t = uint8_t |
Type of variables holding thread priorities. | |
Enumerations | |
enum | : priority_t { os::rtos::thread::priority::none = 0 , os::rtos::thread::priority::idle = (1 << range) , os::rtos::thread::priority::lowest = (2 << range) , os::rtos::thread::priority::low = (2 << range) , os::rtos::thread::priority::below_normal = (4 << range) , os::rtos::thread::priority::normal = (6 << range) , os::rtos::thread::priority::above_normal = (8 << range) , os::rtos::thread::priority::high = (10 << range) , os::rtos::thread::priority::realtime = (12 << range) , os::rtos::thread::priority::highest = (((13 + 1) << range) - 1) , os::rtos::thread::priority::isr = (((14 + 1) << range) - 1) , os::rtos::thread::priority::error = (((15 + 1) << range) - 1) } |
Thread priorities; intermediate values are also possible. More... | |
C++ API threads definitions.
using os::rtos::thread::priority_t = uint8_t |
Type of variables holding thread priorities.
A numeric type used to hold thread priorities, affecting the thread behaviour, like scheduling and thread wakeup due to events; usually an unsigned 8-bits type.
Higher values represent higher priorities.
Definition at line 268 of file os-thread.h.
anonymous enum : priority_t |
Thread priorities; intermediate values are also possible.
Definition at line 300 of file os-thread.h.