Reverse lookup of RTEMS object name
Joel Sherrill
joel.sherrill at OARcorp.com
Thu Jul 3 13:43:22 UTC 2003
Derick Hammond wrote:
>
> Hello All:
>
> This is a very simple question:
>
> Is there a way to obtain rtems_name name from a rtems_id task_id?
There is not an API for that now. :(
>From an algorithmic view, it is fairly simple to provide. It should
be something fairly similar to cpukit/score/src/threadget.c except that
+ the object class can be anything (not just a thread)
+ check if information->is_string is FALSE so you know the name is
the 32-bit Classic API style.
+ return the *object->name
> Thanks in advance.
>
> Regards,
> Derick Hammond
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list