RTEMS Self Task Deletion

Chris Johns chrisj at rtems.org
Wed Sep 27 04:13:36 UTC 2006


Kamaraj P wrote:
> Hello All,
> 
> Here is my sample code for self task deletion. 
> Please share your thoughts whether I am invoking self task deletion for this task or not.
> 
> Main()
> {
>       rtems_task_create(...,..,..,EntryPoint,..,..);
> }
> 
> EntryPoint()
> {
>  ...
>  ...
>  ...
>  ...
>  
> rtems_task_delete(RTEMS_SELF);
> }
> 
> When I tried with above sample code, self task deletion is not working. The task is
> still exists in the memory. Please do update me the way I am invoking self task
> deletion is correct or not.
> 

Did you start the task ?

Regards
Chris



More information about the users mailing list