Skip to content

Group uxQueueMessagesWaiting

Modules > uxQueueMessagesWaiting

More...

Detailed Description

queue. h

Return the number of messages stored in a queue.

Parameters:

  • xQueue A handle to the queue being queried.

Returns:

The number of messages available in the queue.

queue. h

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:

  • xQueue A handle to the queue being queried.

Returns:

The number of spaces available in the queue.