Binary CPU / Thread information.

Sam Price thesamprice at gmail.com
Fri Aug 12 16:48:17 UTC 2022


Is there a preferred api style, or just mimic the linux kernel task?
https://docs.huihoo.com/doxygen/linux/kernel/3.7/structtask__struct.html

FreeRTOS has
https://www.freertos.org/a00021.html#xTaskGetTickCount

vxworks has a spy interface.
https://www.ecb.torontomu.ca/~courses/ee8205/Data-Sheets/Tornado-VxWorks/vxworks/ref/spyLib.html#top

I would probably prefer a function and pass in a const task identifier, and
a pointer to a struct task to populate.
(Similar to the linux kernel example, possibly with the same names that get
populated?)

Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220812/7f284bf5/attachment.htm>


More information about the devel mailing list