hi all,
i am using the latest sysbios and mcsdk. I am running on ubuntu 14. I am porting some old code into the C6678 processors. i want to minimize change to my code. So one thing i have to figure out is to name thread and give the thread an ID number. So i want to give a string name and an integer threadID to task, swi or HWI. I think we can use Task_Param.instance( IInstance ) to achieve that goal. So i wonder i am allowed to modify IInstance.h , the default struct in that file is
struct xdc_runtime_IInstance_Params {
size_t __size;
xdc_String name;
};
I want to change to struct xdc_runtime_IInstance_Params {
size_t __size;
UInt16 threadID;
xdc_String name;
};
can I safely do that without consequences?