Menu

#149 xQueueReceive needs to indicate more messages waiting

v1.0 (example)
closed-invalid
nobody
None
5
2017-08-01
2017-08-01
Roland
No

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

Discussion

  • Richard Barry

    Richard Barry - 2017-08-01
    • status: open --> closed-invalid
     
  • Richard Barry

    Richard Barry - 2017-08-01

    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.

     

Log in to post a comment.