traverse all items i na queue with xQueuePeek
traverse all items i na queue with xQueuePeek
I am finding myself in need of a function to "peek" at the items in the queue (not restricted to only the first item), but without removing these items. So tried to use xQueuePeek but it seems that this function only returns the first item so it is identical to queue->front. Is there a way to do peek at all items in the queue without removing them?
Re: traverse all items i na queue with xQueuePeek
I have read this article but I was hoping for a better solution than 'go and implement a thread safe double linked list'
Who is online
Users browsing this forum: Baidu [Spider], karunt and 99 guests