zephyr/kernel
Andy Ross 3d14615f56 kernel: Restore CONFIG_MULTITHREADING=n behavior
The prepare_multithreading()/switch_to_main_thread() steps were being
done unconditionally, when with multhreading disabled we want to jump
straight into the main thread on the existing stack.

Needless to say, that doesn't work well.  Fixes #8361.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-06-13 17:23:05 -04:00
..
include kernel/poll: Remove POLLING thread state bit 2018-06-11 17:25:38 -04:00
alert.c
atomic_c.c
CMakeLists.txt
compiler_stack_protect.c
device.c
errno.c
idle.c
init.c kernel: Restore CONFIG_MULTITHREADING=n behavior 2018-06-13 17:23:05 -04:00
int_latency_bench.c
Kconfig kernel: work_q: Document implications of default sys work_q priority 2018-06-11 14:40:07 -04:00
Kconfig.event_logger
Kconfig.power_mgmt
mailbox.c
mem_domain.c
mem_slab.c
mempool.c kernel/mempool: Handle transient failure condition 2018-05-27 09:55:04 -04:00
msg_q.c
mutex.c
pipes.c
poll.c kernel/poll: Remove POLLING thread state bit 2018-06-11 17:25:38 -04:00
queue.c kernel/queue: Fix spurious NULL exit condition when using timeouts 2018-06-11 17:11:51 -04:00
sched.c kernel: sched: use _is_thread_ready() in should_preempt() 2018-06-04 08:21:47 -04:00
sem.c
smp.c
stack.c
sys_clock.c
system_work_q.c
thread_abort.c
thread.c kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
timer.c
userspace_handler.c
userspace.c
version.c
work_q.c