116#define QF_SCHED_STAT_ QSchedStatus lockStat_;
119#define QF_SCHED_LOCK_(ceil_) do { \
120 if (QK_ISR_CONTEXT_()) { \
123 lockStat_ = QK::schedLock((ceil_)); \
128#define QF_SCHED_UNLOCK_() do { \
129 if (lockStat_ != 0xFFU) { \
130 QK::schedUnlock(lockStat_); \
135#define QACTIVE_EQUEUE_WAIT_(me_) (static_cast<void>(0))
139#define QACTIVE_EQUEUE_SIGNAL_(me_) do { \
140 QK_priv_.readySet.insert( \
141 static_cast<std::uint_fast8_t>((me_)->m_prio)); \
142 QK_priv_.readySet.update_(&QK_priv_.readySet_dis); \
143 if (!QK_ISR_CONTEXT_()) { \
144 if (QK_sched_() != 0U) { \
153#define QACTIVE_EQUEUE_SIGNAL_(me_) do { \
154 QK_priv_.readySet.insert( \
155 static_cast<std::uint_fast8_t>((me_)->m_prio)); \
156 if (!QK_ISR_CONTEXT_()) { \
157 if (QK_sched_() != 0U) { \
168#define QF_EPOOL_TYPE_ QMPool
171#define QF_EPOOL_INIT_(p_, poolSto_, poolSize_, evtSize_) \
172 (p_).init((poolSto_), (poolSize_), (evtSize_))
175#define QF_EPOOL_EVENT_SIZE_(p_) ((p_).getBlockSize())
178#define QF_EPOOL_GET_(p_, e_, m_, qsId_) \
179 ((e_) = static_cast<QEvt *>((p_).get((m_), (qsId_))))
182#define QF_EPOOL_PUT_(p_, e_, qsId_) ((p_).put((e_), (qsId_)))
Private attributes of the QK kernel.
std::uint_fast8_t actPrio_dis
std::uint_fast8_t actThre
std::uint_fast8_t lockCeil_dis
std::uint_fast8_t nextPrio
std::uint_fast8_t actPrio
std::uint_fast8_t nextPrio_dis
std::uint_fast8_t actThre_dis
std::uint_fast8_t intNest
std::uint_fast8_t lockCeil
Set of Active Objects of up to QF_MAX_ACTIVE elements.
QSchedStatus schedLock(std::uint_fast8_t const ceiling) noexcept
void schedUnlock(QSchedStatus const prevCeil) noexcept
std::uint_fast8_t QSchedStatus
void QK_activate_() noexcept
std::uint_fast8_t QK_sched_() noexcept