zephyr/kernel
Benjamin Walsh 867f8ee371 kernel: move K_ESSENTIAL from thread_state to execution_flags
The execution_flags will store the user-facing states of a thread.

This also fixes a bug where K_ESSENTIAL was already assigned to
execution_flags via the options field of
k_thread_spawn()/K_THREAD_DEFINE().

Change-Id: I91ad7a62b5d180e09eead8985ff519809959ecf2
Signed-off-by: Benjamin Walsh <walsh.benj@gmail.com>
2017-01-24 13:34:49 +00:00
..
configs kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
include kernel: move K_ESSENTIAL from thread_state to execution_flags 2017-01-24 13:34:49 +00:00
alert.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
atomic_c.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
compiler_stack_protect.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
device.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
errno.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
fifo.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
idle.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
init.c kernel: move K_ESSENTIAL from thread_state to execution_flags 2017-01-24 13:34:49 +00:00
int_latency_bench.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.event_logger license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.power_mgmt license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
legacy_offload.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
legacy_timer.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
lifo.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mailbox.c kernel: rename thread states symbols 2017-01-24 13:34:49 +00:00
Makefile kernel: build legacy timer only conditionally 2017-01-17 19:03:36 +00:00
mem_pool.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mem_slab.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
msg_q.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mutex.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pipes.c kernel: rename thread states symbols 2017-01-24 13:34:49 +00:00
sched.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
sem.c kernel: rename thread states symbols 2017-01-24 13:34:49 +00:00
stack.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
sys_clock.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
system_work_q.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
thread_abort.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
thread.c kernel: move K_ESSENTIAL from thread_state to execution_flags 2017-01-24 13:34:49 +00:00
timer.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
version.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
work_q.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00