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
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel