Hi,
I'm looking for a way to handle FreeRTOS task crash and gracefully restart the task after freeing the resources. I would be helpful if someone helped, I've tried googling but nothing came up. I even looked for any relevant API in ESP32's FreeRTOS documentation wiki, may be I've missed something please feel free to point out.
Thanks in advanced.
How to handle a FreeRTOS task crash.
-
- Posts: 9749
- Joined: Thu Nov 26, 2015 4:08 am
Re: How to handle a FreeRTOS task crash.
You can't. A FreeRTOS task is not an Unix or Windows process: while processes live in separate memory spaces, tasks share a memory space (same as threads under Windows/Unix/...). There is no way of telling what memory belongs to which task, and as such if a task does not clean up its own memory, no way of externally doing that for them.
Who is online
Users browsing this forum: No registered users and 129 guests