It would be nice to have queue function which removes item form the queue like xQueueReceive() does but ignores its content. It's like contra xQueuePeek(). Alternative way is to make xQueueReceive() allow to accept NULL value as pvBuffer argument.
It's useful when task must receive item to fulfill application synced behavior requirements and ignore it but developer doesn't want to waste memory. Especially when item size is very large.
Log in to post a comment.