STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
uxQueueMessagesWaiting

queue.

queue.

h

unsigned long UBaseType_t
Definition portmacro.h:60
struct QueueDefinition * QueueHandle_t
Definition queue.h:51
UBaseType_t uxQueueMessagesWaiting(const QueueHandle_t xQueue) PRIVILEGED_FUNCTION
Definition queue.c:2079

Return the number of messages stored in a queue.

Parameters
xQueueA handle to the queue being queried.
Returns
The number of messages available in the queue.

h

UBaseType_t uxQueueSpacesAvailable(const QueueHandle_t xQueue) PRIVILEGED_FUNCTION
Definition queue.c:2095

Return the number of free spaces available in a queue. This is equal to the number of items that can be sent to the queue before the queue becomes full if no items are removed.

Parameters
xQueueA handle to the queue being queried.
Returns
The number of spaces available in the queue.