zephyr/kernel/unified
Benjamin Walsh 04c542d9d0 kernel/mbox: add missing dummy thread timeout init
It was possible for a dummy thread to be not timing, but not having
timeout.delta_ticks_from_prev not be -1 at the same time, which is a big
no-no.

Use _init_thread_base() to do a full initialization of the dummy thread.

Fixes ZEP-1312.

Change-Id: I16a2373be3329c142cf26f5dca6bfdbe6014ac5e
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-11-23 00:27:43 +00:00
..
include kernel: streamline initialization of _thread_base and timeouts 2016-11-23 00:27:42 +00:00
Kconfig kernel: add support for switching to main thread without _Swap() 2016-11-23 00:23:58 +00:00
Makefile unified: dissociate system workqueue from common workqueue module 2016-11-04 22:39:54 +00:00
alert.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
atomic_c.c unified: move code from nanokernel into unified kernel 2016-10-10 00:46:40 +00:00
compiler_stack_protect.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
device.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
errno.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
event_logger.c kernel: Ensure event logger APIs convert timeouts to millseconds 2016-11-18 23:17:49 +00:00
fifo.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
idle.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
init.c kernel: declare main and idle stack as globals 2016-11-23 00:24:00 +00:00
int_latency_bench.c unified: move code from nanokernel into unified kernel 2016-10-10 00:46:40 +00:00
kernel_event_logger.c kernel: Minor optimization to kernel event logger timestamping 2016-11-18 23:17:51 +00:00
legacy_offload.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
legacy_timer.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
lifo.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
mailbox.c kernel/mbox: add missing dummy thread timeout init 2016-11-23 00:27:43 +00:00
mem_pool.c kernel: Enhance naming of memory pool configuration options 2016-11-16 21:43:17 +00:00
mem_slab.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
msg_q.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
mutex.c kernel: fix obsolete access to fields in K_DEBUG() calls 2016-11-18 23:08:47 +00:00
pipes.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
sched.c kernel: support for more than 32 total priorities 2016-11-18 23:45:34 +00:00
sem.c kernel: streamline initialization of _thread_base and timeouts 2016-11-23 00:27:42 +00:00
stack.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
sys_clock.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
system_work_q.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
thread.c kernel: streamline initialization of _thread_base and timeouts 2016-11-23 00:27:42 +00:00
thread_abort.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
timer.c kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
version.c unified: move code from nanokernel into unified kernel 2016-10-10 00:46:40 +00:00
work_q.c kernel: fix thread prio and stack size types in some APIs 2016-11-18 23:08:46 +00:00