zephyr/kernel
Andrew Boie 8eaff5d6d2 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>
2017-09-07 16:35:16 -07:00
..
include timer: k_timer_start should accept 0 as duration parameter. 2017-09-06 10:18:39 -07:00
alert.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
atomic_c.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
compiler_stack_protect.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
device.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
errno.c kernel: errno: Use per-thread accessor function compatible with Newlib 2017-05-10 20:54:56 -04:00
idle.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
init.c init: initialize dummy thread stack info 2017-09-07 16:34:41 -07:00
int_latency_bench.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
Kconfig kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
Kconfig.event_logger kernel: Add thread events to kernel event logger 2017-04-25 02:16:36 +00:00
Kconfig.power_mgmt doc: spelling fixes in Kconfig files 2017-06-12 19:40:51 -04:00
mailbox.c kernel: Use SYS_DLIST_FOR_EACH_CONTAINER whenever possible 2017-08-25 09:08:50 -04:00
Makefile kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
mem_slab.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
mempool.c mem_pool: Don't check level_empty() before breaking a block 2017-07-31 09:14:59 -07:00
msg_q.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
mutex.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
pipes.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
poll.c poll: Enable multiple threads to use k_poll in the same object 2017-08-25 09:00:46 -04:00
pthread.c kernel: POSIX thread IPC support 2017-08-15 19:42:07 -04:00
queue.c poll: Enable multiple threads to use k_poll in the same object 2017-08-25 09:00:46 -04:00
sched.c kernel: Use SYS_DLIST_FOR_EACH_CONTAINER whenever possible 2017-08-25 09:08:50 -04:00
sem.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
stack.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
sys_clock.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
system_work_q.c kernel: introduce stack definition macros 2017-06-09 18:53:28 -04:00
thread_abort.c k_thread_abort(): assert if abort essential thread 2017-09-07 16:35:16 -07:00
thread.c k_thread_abort(): assert if abort essential thread 2017-09-07 16:35:16 -07:00
timer.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
userspace.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
version.c kernel: version: no need to store version in RAM 2017-09-07 16:34:50 -07:00
work_q.c kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00