rtems_iterate_over_all_threads
Joel Sherrill
joel.sherrill at OARcorp.com
Wed Apr 22 14:15:45 UTC 2009
Leon Pollak wrote:
> On Wednesday April 22 2009, Joel Sherrill wrote:
> > > Will not it be better to add a parameter to
> > > rtems_iterate_over_all_threads saying to avoid myself ID while
> iterating?
> >
> > You could call rtems_task_self() or just compare the TCB to
> > _Thread_Executing.
>
>
> Usage of the _Thread_Executing->Object.iditem, which is the RTEMS
> internal parameter seems to me not a good programmer practice.
>
>
> What is rtems_task_self()? I do not see it in my 4.8.0 version.
> Was it introduced later?
>
>
A number of handy things were introduced with 4.9. This was
one. The entire set of Object routines in the API are new with
4.9. Check out an online manual and see the new chapters.
http://www.rtems.org/wiki/index.php/4.9_Release_Notes#API_Changes
> Thanks.
--
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