How to check if a zephyr thread crashed?

Viewed 21

I start a thread in zephyr like this:

K_THREAD_DEFINE(my_name, STACKSIZE, my_func, NULL, NULL,
        NULL, PRIORITY, 0, 0);

but it does crash after some time. How do I check it's status to restart it when it crashed?

0 Answers
Related