commit | 8eaff5d6d20c28923e50ff037d44692dee9e8648 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Mon Aug 28 16:02:24 2017 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Thu Sep 07 16:35:16 2017 -0700 |
tree | a748daeee6fa5ebf7833763db7fc5bd86cdf9d7a | |
parent | 7d627c59716bddab61a2300b0c8f1c4f394dfcc7 [diff] |
k_thread_abort(): assert if abort essential thread Previously, this was only done if an essential thread self-exited, and was a runtime check that generated a kernel panic. Now if any thread has k_thread_abort() called on it, and that thread is essential to the system operation, this check is made. It is now an assertion. _NANO_ERR_INVALID_TASK_EXIT checks and printouts removed since this is now an assertion. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>