Queue set space available

Is there a call which return space available of a queue set.

Calling uxQueueSpaceAvailable() on the queue set itself will return the space within the queue set (which is itself implemented using a queue - hence the queue functions work on the sets too).

and feel,
1,surprised for the function was implemented by FreeRTOS already. 2:surprised for the function hide there if no one mention it. :slight_smile:

Please add mark to any function can/can’t use in ISR on https://www.freertos.org/a00018.html#uxQueueSpacesAvailable

For example I didn’t know can I use uxQueueSpaceAvailable() in ISR or not.

FreeRTOS functions not ending in FromISR cannot be called from ISR.


1 Like