zephyr/tests/kernel/threads
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
..
dynamic_thread tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
no-multithreading tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
thread_apis kernel/sched: Panic on aborting essential threads 2022-05-20 12:34:30 +02:00
thread_error_case everywhere: fix typos 2022-03-18 13:24:08 -04:00
thread_init kconfig: Rename the TEST_EXTRA stack size option to align with the rest 2022-02-22 08:23:05 -05:00
thread_stack riscv: drop user stack guard area when using separate privileged stacks 2022-05-18 10:54:53 +02:00
tls tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00