Exiting Init function: Difference between 4.6.0 and 4.6.5 ?
Filipe Pedrosa
fpedrosa at dcc.online.pt
Fri Apr 21 21:04:34 UTC 2006
Hi
Try to invoke rtems_task_delete(RTEMS_SELF); this will delete the
init task, and if there are no more task ready to execute, the idle task
is dispatched.
exit ends the RTEMS application
On Friday 21 April 2006 21:44, Alan Cudmore wrote:
> 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