queue.
h
unsigned portBASE_TYPE uxQueueMessagesWaiting( const xQueueHandle xQueue );
Return the number of messages stored in a queue.