RTEMS Self Task Deletion
Kamaraj P
pkamaraj at Centillium.com
Wed Sep 27 04:06:24 UTC 2006
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.
Thanks In Advance
Regards,
Kamaraj
-----Original Message-----
From: Fabrício de Novaes Kucinskis [mailto:fabricio at dea.inpe.br]
Sent: Friday, September 22, 2006 9:04 PM
To: Kamaraj P; rtems-users at rtems.com
Subject: RES: RTEMS Self Task Deletion
>> Can any one tell me whether RTEMS allows self task deletion ?
>> For example: If I invoke rtems_delete_task() to delete the Task T1() with
in the Task T1 itself ?
rtems_task_delete(RTEMS_SELF);
Fabrício de Novaes Kucinskis - DEA / INPE
-----------------------------------------
Grupo de Supervisão de Bordo - SUBORD
Divisão de Eletrônica Aeroespacial
Instituto Nacional de Pesquisas Espaciais
-----Mensagem original-----
De: Kamaraj P [mailto:pkamaraj at Centillium.com]
Enviada em: sexta-feira, 22 de setembro de 2006 12:10
Para: rtems-users at rtems.com
Assunto: FW: RTEMS Self Task Deletion
Hello All,
Can any one tell me whether RTEMS allows self task deletion ?
For example: If I invoke rtems_delete_task() to delete the Task T1() with in
the Task T1 itself ?
Thanks in advance.
Regards,
Kamaraj
More information about the users
mailing list