124#define QF_SCHED_STAT_ QSchedStatus lockStat_;
127#define QF_SCHED_LOCK_(ceil_) do { \
128 if (QK_ISR_CONTEXT_()) { \
131 lockStat_ = QK::schedLock((ceil_)); \
136#define QF_SCHED_UNLOCK_() do { \
137 if (lockStat_ != 0xFFU) { \
138 QK::schedUnlock(lockStat_); \
143#define QACTIVE_EQUEUE_WAIT_(me_) \
144 Q_ASSERT_INCRIT(320, (me_)->m_eQueue.m_frontEvt != nullptr)
148#define QACTIVE_EQUEUE_SIGNAL_(me_) do { \
149 QK_priv_.readySet.insert( \
150 static_cast<std::uint_fast8_t>((me_)->m_prio)); \
151 QK_priv_.readySet.update_(&QK_priv_.readySet_dis); \
152 if (!QK_ISR_CONTEXT_()) { \
153 if (QK_sched_() != 0U) { \
162#define QACTIVE_EQUEUE_SIGNAL_(me_) do { \
163 QK_priv_.readySet.insert( \
164 static_cast<std::uint_fast8_t>((me_)->m_prio)); \
165 if (!QK_ISR_CONTEXT_()) { \
166 if (QK_sched_() != 0U) { \
177#define QF_EPOOL_TYPE_ QMPool
180#define QF_EPOOL_INIT_(p_, poolSto_, poolSize_, evtSize_) \
181 (p_).init((poolSto_), (poolSize_), (evtSize_))
184#define QF_EPOOL_EVENT_SIZE_(p_) ((p_).getBlockSize())
187#define QF_EPOOL_GET_(p_, e_, m_, qsId_) \
188 ((e_) = static_cast<QEvt *>((p_).get((m_), (qsId_))))
191#define QF_EPOOL_PUT_(p_, e_, qsId_) ((p_).put((e_), (qsId_)))
Private attributes of the QK kernel.
std::uint_fast8_t actThre
std::uint_fast8_t actPrio_dis
std::uint_fast8_t lockCeil
std::uint_fast8_t intNest
std::uint_fast8_t lockCeil_dis
std::uint_fast8_t nextPrio
std::uint_fast8_t nextPrio_dis
std::uint_fast8_t actThre_dis
std::uint_fast8_t actPrio
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
std::uint_fast8_t QK_sched_() noexcept
void QK_activate_() noexcept