QP/C
Functions
qeq_fifo.c File Reference

QEQueue_postFIFO() definition. NOTE: this function is used for the "raw" thread-safe queues and NOT for the queues of active objects. More...

#include "qf_pkg.h"
#include "qassert.h"

Go to the source code of this file.

Functions

void QEQueue_postFIFO (QEQueue *me, QEvent const *e)
 "raw" thread-safe QF event queue implementation for the First-In-First-Out (FIFO) event posting. You can call this function from any task context or ISR context. Please note that this function uses internally a critical section.

Detailed Description

QEQueue_postFIFO() definition. NOTE: this function is used for the "raw" thread-safe queues and NOT for the queues of active objects.

Definition in file qeq_fifo.c.


Function Documentation

void QEQueue_postFIFO ( QEQueue me,
QEvent const *  e 
)

"raw" thread-safe QF event queue implementation for the First-In-First-Out (FIFO) event posting. You can call this function from any task context or ISR context. Please note that this function uses internally a critical section.

Note:
The function raises an assertion if the native QF queue becomes full and cannot accept the event.
See also:
QEQueue_postLIFO(), QEQueue_get()

Definition at line 41 of file qeq_fifo.c.

References Q_ASSERT, QF_EVT_POOL_ID_, QF_EVT_REF_CTR_, QF_EVT_REF_CTR_INC_, QF_PTR_AT_, QS_BEGIN_NOCRIT_, QS_END_NOCRIT_, QS_EQC_, QS_eqObj_, QS_OBJ_, QS_QF_EQUEUE_POST_FIFO, QS_TIME_, and QS_U8_.

Referenced by QActive_defer().