[PATCH 2/4] score: Remove idle field of Per_CPU_Control

Joel Sherrill joel.sherrill at OARcorp.com
Wed May 29 19:56:33 UTC 2013


On 5/29/2013 2:35 PM, Sebastian Huber wrote:
> On 29/05/13 21:14, Joel Sherrill wrote:
>> I think the use of _Objects_Name_to_id_u32 should be
>> calling rtems_task_ident.
> The problem is that the idle threads are not RTEMS tasks.  You cannot
> find them with rtems_task_ident().
>
That's right. :(

It is still a violation of the layering. I wonder if we need a helper.

And the fast idle trick is also violating the layering. Grrr...


Also in a multi-core system, all the IDLE threads have the same name.
So you don't know which one you are getting. Is this OK based on
your test change?

FWIW it is not ok to have no tasks in the ready set.

-- 
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 devel mailing list