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
[email protected]        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to