Counting semaphore value

rtel wrote on Friday, May 20, 2016:

If you are using V9.0.0rc2 then you can use uxSemaphoreGetCount(),
otherwise you can use uxQueueMessagesWaiting()
and just cast the SemaphoreHandle_t to a QueueHandle_t for the
function’s parameter.