[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cannot find task id.
- Date: Thu, 24 Oct 2002 09:27:58 +0200 (MEST)
- From: nicjoh-7 at sm.luth.se (Niclas Johansson)
- Subject: Cannot find task id.
On Thu, 24 Oct 2002, Ian Caddy wrote:
> Hi Niclas,
>
> Your application task does not stay in a loop, and hence will complete
> straight away.
>
> In this case, your Application task will complete after the printf and
> then will be deleted.
>
> Therefore if it is a higher priority task than your init task, it will
> be deleted before your init task will to the last ident.
>
> To fix this you will need to add (to your application task)
>
> while(1)
> {
> rtems_task_wkafter(100);
> }
>
> Then it will not end.
>
> I hope this helps,
>
> Ian Caddy
>
It helps very much! Thank you
for answering my stupid question! =)