zpp
Zephyr C++20 Framework
thread_prio.hpp File Reference
#include <zephyr/kernel.h>
#include <zephyr/sys/__assert.h>
Include dependency graph for thread_prio.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  zpp::thread_prio
 Thread priority. More...
 

Namespaces

 zpp
 

Functions

constexpr bool zpp::operator== (const thread_prio &lhs, const thread_prio &rhs) noexcept
 Compare if two priorities are equal. More...
 
constexpr bool zpp::operator!= (const thread_prio &lhs, const thread_prio &rhs) noexcept
 Compare if two priorities are not equal. More...
 
constexpr thread_prio zpp::operator- (thread_prio lhs, int rhs) noexcept
 Reduce priority by rhs. More...
 
constexpr thread_prio zpp::operator+ (thread_prio lhs, int rhs) noexcept
 Increase priority by rhs. More...
 
void zpp::print_arg (thread_prio prio) noexcept
 Helper to output the priority with zpp::print("{}", prio) More...