death.c

Create a single persistent task which periodically dynamically creates another two tasks.

The original task is called the creator task, the two tasks it creates are called suicidal tasks.

One of the created suicidal tasks kill one other suicidal task before killing itself - leaving just the original task remaining.

The creator task must be spawned after all of the other demo application tasks as it keeps a check on the number of tasks under the scheduler control. The number of tasks it expects to see running should never be greater than the number of tasks that were in existence when the creator task was spawned, plus one set of four suicidal tasks. If this number is exceeded an error is flagged.



Generated on Thu Dec 17 20:02:02 2009 for AVR32 UC3 - FreeRTOS Real Time Kernel by  doxygen 1.5.5