execute multiple tasks

Sebastian Huber sebastian.huber at embedded-brains.de
Fri May 11 07:59:08 UTC 2012


On 05/11/2012 09:54 AM, Mick Davis wrote:
> I think your tasks need to delete themselves.
>
> rtems_task task1(rtems_task_argument ignored)
> {
>      printf("Task 1 printing\n\r");
>      rtems_task_delete( RTEMS_SELF );
> }

Yes, a simple return from a Classic API task is a fatal error.

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list