zephyr/tests/kernel/threads/thread_apis
Andy Ross fb613594c7 kernel/sched: Panic on aborting essential threads
Documentation specifies that aborting/terminating/exiting essential
threads is a system panic condition, but we didn't actually implement
that and allowed it as for other threads. At least one app wants to
exploit this documented behavior as a "watchdog" kind of condition,
and that seems reasonable.  Do what we say we're supposed to do.

This also includes a small fix to a test, which seemed like it was
written to exercise exactly this condition.  Except that it failed to
detect whether or not a system fatal error was actually signaled and
was (incorrectly) indicating "success".  Check that we actually enter
the handler.

Fixes #45545

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2022-05-20 12:34:30 +02:00
..
src kernel/sched: Panic on aborting essential threads 2022-05-20 12:34:30 +02:00
CMakeLists.txt
prj.conf
testcase.yaml tests/kernel/threads_apis: Add case for CPU_MASK_PIN_ONLY 2021-09-28 20:15:05 -04:00