This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: Does QueueP_get() in TI RTOS have a timeout or xTicksToWait equivalent?

Part Number: AM6442

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 like xTicksToWait in FreeRTOS’s xQueueReceive()?

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!