[riot-notifications] [RIOT-OS/RIOT] core: Add fault_exception_recovery (#15854)

Koen Zandberg notifications at github.com
Mon Jan 25 14:14:13 CET 2021


@bergzand commented on this pull request.



> @@ -148,6 +148,7 @@ typedef struct _thread thread_t;
  */
 typedef enum {
     STATUS_STOPPED,                 /**< has terminated                           */
+    STATUS_CRASHED,                 /**< thread has crashed with a fault          */

>  A lot of the hassle could be avoided if you appended the new state at the end of the list.

That would require rewriting the [`sched_set_status` function](https://github.com/RIOT-OS/RIOT/blob/master/core/sched.c#L226)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15854#discussion_r563712784
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210125/0d0e7aac/attachment-0001.htm>


More information about the notifications mailing list