Other Parts Discussed in Thread: SYSBIOS
Hello,
I am working with the SensorTag platform developing my own software based on the SensorTag example and I would like to understand the difference between the two APIs to manage the queue, Queue_enqueue and Queue_put.
In case the queuing and de-queuing is always in the same task I can imagine there is no reason to use the Queue_put instead of the Queue_enqueue.
In case different queuing are possible from different tasks should be better to use the Queue_put? If I would like to avoid to disable all the interrupts can I still use the Queue_enqueue with a semaphore to create a mutex where this API is called?
Is my argumentation correct?
Thank you.
Kind Regards,
Simone Frau