FreeRTOS Queue Reset: Define What Happens to Pending Producers and Stored Payloads
xQueueReset() empties the queue’s stored-item state, but it is not a cancellation request to every task using that queue. In FreeRTOS Kernel V11.1.0 it can unblock a pending sender, which may immediately repopulate the queue. A reset call returning successfully therefore does not prove that no old producer can publish afterward. This guide examines ordinary…