Tool/software: TI-RTOS
Hello,
I am using TI RTOS in my project on the cc2652 board. In TI RTOS is there an option to set the size of the Queue To ensure that only a certain number of elements get stored into the queue.
The need for this is to avoid the condition where the queue memory gets filled and the program tries to enqueue another element .
I do understand that the TI RTOS auto heap feature allocates the rest of the remaining RAM for heap. But in the extreme case if the queue runs out of memory and then we try to enqueue again, what happens?
I mean ,what would happen in such a case, where the created queue in TI RTOS gets filled and the program tries to load another element ? Would the program halt its execution completely ?
Regards,
Shyam