Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: How to understand which task is currently running on SYS/BIOS

$
0
0

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 


Viewing all articles
Browse latest Browse all 25965


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>