Tool/software:
Hi all,
I'm using the TI RTOS QueueP
module (from the kernel/dpl
layer) and wanted to know:
Does
QueueP_get()
support a timeout parameter likexTicksToWait
in FreeRTOS’sxQueueReceive()
?
I couldn't find any such parameter in the function signature. So far, it looks like QueueP_get()
either blocks indefinitely or returns immediately based on the queue state. Is there a way to make it block for a specific duration or timeout if nothing is available?
If not, what would be the recommended approach to implement a timeout or delay while waiting for an item from the queue?
Thanks!