40Q_DEFINE_THIS_MODULE(
"qf_defer")
44bool QActive_defer(
QActive const * const me,
48 bool const status = QEQueue_post(eq, e, 0U, me->prio);
69 QEvt const *
const e = QEQueue_get(eq, me->prio);
72 bool recalled =
false;
121 uint_fast16_t
const num)
123 uint_fast16_t n = 0U;
125 QEvt const *
const e = QEQueue_get(eq, me->
prio);
126 if (e != (
QEvt *)0) {
128#if (QF_MAX_EPOOL > 0U)
#define QACTIVE_POST_LIFO(me_, e_)
Post an event to an active object using the Last-In-First-Out (LIFO) policy.
Internal (package scope) QP/C interface.
QS/C dummy public interface.
#define QS_2U8_PRE(data1_, data2_)
#define QS_BEGIN_PRE(rec_, qsId_)
QP Functional Safety (FuSa) Subsystem.
#define Q_ASSERT_INCRIT(id_, expr_)
General-purpose assertion with user-specified ID number (in critical section)
Active object class (based on the QHsm implementation strategy)
bool QActive_recall(QActive *const me, struct QEQueue *const eq)
Recall a deferred event from a given event queue.
uint8_t prio
QF-priority [1..QF_MAX_ACTIVE] of this AO.
uint_fast16_t QActive_flushDeferred(QActive const *const me, struct QEQueue *const eq, uint_fast16_t const num)
Flush the specified number of events from the deferred queue eq
QSignal sig
Signal of the event (see Event Signal)
uint8_t volatile refCtr_
Event reference counter.
uint8_t poolNum_
Event pool number of this event.