pthreads and names
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Dec 30 16:24:32 UTC 2008
rtwas wrote:
> Hello,
>
> Using the rtems-shell is pretty handy. Things like "stackuse" and
> "pthread" are pretty handy commands.
> Names do not appear however. "pthread_create()" doesn't (near as I can
> tell) provide a method for
> naming the threads such that when using commands like "stackuse" their
> names appears.
>
> Is there a trick for giving pthreads names in rtems?
>
It always annoyed me that many POSIX objects do not have names.
The chapter "Object Services" in the User's Guide has a number of
object id and name related services. One of them is
"rtems_object_set_name".
http://www.rtems.org/onlinedocs//doc-current/share/rtems/html/c_user/c_user00491.html
Obviously this is non-portable and beyond POSIX but it is is VERY useful.
> Thanks.
>
> Robert W.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill 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