Cannot find task id.
Niclas Johansson
nicjoh-7 at sm.luth.se
Thu Oct 24 07:27:58 UTC 2002
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! =)
More information about the users
mailing list