|
QP/C
|
QEQueue_get() 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"Go to the source code of this file.
Functions | |
| QEvent const * | QEQueue_get (QEQueue *me) |
| "raw" thread-safe QF event queue implementation for the event get operation. | |
QEQueue_get() definition. NOTE: this function is used for the "raw" thread-safe queues and NOT for the queues of active objects.
Definition in file qeq_get.c.
| QEvent const* QEQueue_get | ( | QEQueue * | me | ) |
"raw" thread-safe QF event queue implementation for the event get operation.
If the queue has one or more events, the function returns the event at the front of the queue, otherwise it returns NULL. You can call this function from any task context or ISR context. Please note that this function uses internally a critical section.
Definition at line 41 of file qeq_get.c.
References QEQueue::end, QEQueue::frontEvt, QEQueue::nFree, QF_EVT_POOL_ID_, QF_EVT_REF_CTR_, QF_PTR_AT_, QS_BEGIN_NOCRIT_, QS_END_NOCRIT_, QS_EQC_, QS_eqObj_, QS_OBJ_, QS_QF_EQUEUE_GET, QS_QF_EQUEUE_GET_LAST, QS_TIME_, QS_U8_, QEQueue::ring, QEvent::sig, and QEQueue::tail.
Referenced by QActive_recall().
1.7.6.1