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.
Tool/software: TI-RTOS
Hi,
I am trying to understand Ti RTOS and going through TI RTOS Workshop. I have few queries which i am trying to figure out.
1) For passing data from Hwi to either Swi or Task, only way is to use any one of the mechanisms as explained in chapter 9 of this workshop (inter thread communication) have to be used. If you do not want to use any of these mechanism, than only way is to use global; which is not recommended....... Pls correct me if i am wrong or let me have your comments for completeness of this understanding.
2) Structure defined for either using queue or mailbox, is global (as in lab 9). If the structure defined is already global, what benefit do we have (for the case of data to be passed is simple as 2 int, for example) using queue/mailbox over using directly same structure to pass information among different threads without using queue/mailbox ?
Please throw some light on this queries.
Thanks in advance.
Pranav.
Pranav,
They do not necessarily have to be defined as a global. It depends on how you are using them, but generally you would want to define them as globals
so you can use them across different threads.
Judah
Thanks for reply.
I would appreciate if you can point me some literature i can read to understand it thoroughly.
Thanks and Best Regards,
Pranav.
Hi,
I have gone through chapter queue of kernel UG, but it doent speak anything about structure definition....
BR
Pranav.