xQueueReceive needs to indicate more messages waiting
Market leading real time kernel for 40+ microcontroller architectures
Brought to you by:
gaurav-aws,
rtel
Currently, the xQueueReceive function must be followed up by an uxQueueMessagesWaiting call to determine if a task needs to set the event representing incoming messages in an event group. This amounts to having to enter a critical section twice when once should have been sufficient. You may consider adding a third return value to xQueueReceive to indicate "success but not empty".
Thanks
I'm not sure of the relation between a queue and an event group - but in any case - this is a feature request not a bug so please add it to the feature request tracker.