Hi All,
I have a global struct added to my task using taskVarAdd() API.
But during some scenarios, the same global struct is is added to the same task again using taskVarAdd() API. [i.e., taskVarAdd() is called twice from a task for a same variable].
This struct will maintain the taskID, message queue ids for that task.
My Questions:
- If we call the taskVarAdd() for the same variable twice inside a task, what will be the behavior?
- Whether the struct variable added first will be overwritten by the second variable?{I feel this will be overwritten]