A queue can hold any data type, thanks to the underlying void* input parameter.
A task waiting to send data to a queue is placed into the blocked state (suspended if portMAX_DELAY was specified).
There were three considerations mentioned: data ownership of the underlying value, ensuring the correct data type is passed into the queue, and making sure the data stays intact (by not placing it onto a volatile stack).
False. Task notifications only store a single uint32_t and allow a single task with a known task handle to be unblocked. Queues are capable of storing any datatype and can be used across multiple arbitrary tasks.
False. Task notifications only store a single uint32_t.
Speed and RAM efficiency.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.