Why we just wake up one task when reset a queue


In xQueueGenericReset function, when we reset an already exist queue, why we just wake up only one waiting send task through calling xTaskRemoveFromEventList function
I mean xTaskRemoveFromEventList function just can wake top priority task in waiting send list

This this has been asked before and the conclusion was the code was correct, but I can’t find the post right now, as on the face of it it would seem you need to unblock all tasks waiting to write. I will check what tests there are for this scenario and add some if they are lacking.