uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
uxQueueMessagesWaiting

queue. h

unsigned portBASE_TYPE uxQueueMessagesWaiting( const xQueueHandle xQueue );

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.