Open keithm-xmos opened 3 years ago
When a task deletes itself, cleanup occurs during the next idle task run. If no idle task runs, the deleted task will remain. Pending the cleanup portion will allow a task to be cleaned up once the context switch is complete.
This is a FreeRTOS kernel issue that we will not address. But, we need to keep this in mind in case we can come up with a better solution.
When a task deletes itself, cleanup occurs during the next idle task run. If no idle task runs, the deleted task will remain. Pending the cleanup portion will allow a task to be cleaned up once the context switch is complete.