rtems_iterate_over_all_threads

Joel Sherrill joel.sherrill at OARcorp.com
Wed Apr 22 14:14:35 UTC 2009


Leon Pollak wrote:
> On Wednesday April 22 2009, Joel Sherrill wrote:
> > No. RTEID/ORKID defined it as a single bit/state not a nest
> > level count.
> Joel,
> Then what does the following text in the file threads.h definition of 
> the Thread_Control_struct mean:
> /** This field is the number of nested suspend calls. */
> uint32_t suspend_count;
>
>
It is only used by APIs which define a suspend state with
nesting.  At this time, that is ITRON.  In fact, the field probably
should have an ifdef ITRON around it for memory savings. :)

In this is a behavioral change people think should be in the
Classic API or alternate APIs to the current suspend/resume,
then it is always up for discussion. 
> Thanks.
>
>
> -- 
> Leon
>
>


-- 
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