Hello,
Is there a way to understand which task is currently running on SYS/BIOS? Maybe a kernel call or something similar that returns a unique identifier for the task?
And why I need this. I am using a library, and certain library functions will be called from different tasks, which will invoke different jobs. I can't change the prototype of the functions, can't pass the task identifier as a parameter... Obviously I need a kernel call...
Thank you very much,
Note: After posting, I come up with http://focus.ti.com/download/trng/multimedia/dsp/OLT110026/tasks.mp4
So the "unique task identifier" is basically the task name. To get the task name, I need to get the "current" Task_Handle. But there is no such an API call.
Erman