Exiting Init function: Difference between 4.6.0 and 4.6.5 ?

Alan Cudmore Alan.P.Cudmore at nasa.gov
Fri Apr 21 20:44:28 UTC 2006


I have been using RTEMS 4.6.0 for a while, and I recently upgraded to  
4.6.5 and added the memory barrier patch.

My Init routine creates a number of tasks and then just falls through  
without calling 'exit'.

When I upgraded to RTEMS 4.6.5, I noticed that I ended up in  
_Internal_error_Occurred with "the_error" set to the THREAD_EXITTED  
value ( 6 ).

Is this an expected change going from 4.6.0 to 4.6.5?

What is the proper way to exit the Init thread? Just call 'exit' ?

Thanks,
Alan




More information about the users mailing list