maxim-sds wrote on Sunday, February 04, 2018:


I want to understand something.
If my que set has at some point of time 4 queue massges and the new semaphore arrived, the next
xQueueSelectFromSet() would return xQueueor xSemaphore?

rtel wrote on Sunday, February 04, 2018:

No. Queues are first in first out, and a queue set is effectively a
queue. So if there are four items in the queue set when a semaphore is
given the other four items are removed from the queue set before the
address of the semaphore.