QXK/C++ preemptive kernel core functions public interface.
More...
#include "qf_port.hpp"
#include "qxk_pkg.hpp"
#include "qassert.h"
#include "qs_port.hpp"
#include "qs_pkg.hpp"
Go to the source code of this file.
|
namespace | QP |
| namespace associated with the QP/C++ framework
|
|
- Date
- Last updated on: 2021-12-23
- Version
- Last updated for: Version 7.0.0, 2022-04-30
Definition in file qxk.cpp.
◆ QXK_sched_()
std::uint_fast8_t QXK_sched_ |
( |
void |
| ) |
|
|
noexcept |
- Description
- The QXK scheduler finds the priority of the highest-priority thread that is ready to run.
- Returns
- the 1-based priority of the the active object to run next, or zero if no eligible active object is found.
- Attention
- QXK_sched_() must be always called with interrupts disabled and returns with interrupts disabled.
Definition at line 340 of file qxk.cpp.
◆ QXK_activate_()
void QXK_activate_ |
( |
void |
| ) |
|
- Attention
- QXK_activate_() must be always called with interrupts disabled and returns with interrupts disabled.
- Note
- The activate function might enable interrupts internally, but it always returns with interrupts disabled.
- Precondition
- QXK_attr_.next must be valid
Definition at line 417 of file qxk.cpp.
◆ QXK_current()
- Precondition
- the QXK kernel must be running
- Postcondition
- the current thread must be valid
Definition at line 549 of file qxk.cpp.
◆ QXK_attr_