zephyr/doc/kernel/other
Andrew Boie d26cf2dc33 kernel: add k_thread_create() API
Unline k_thread_spawn(), the struct k_thread can live anywhere and not
in the thread's stack region. This will be useful for memory protection
scenarios where private kernel structures for a thread are not
accessible by that thread, or we want to allow the thread to use all the
stack space we gave it.

This requires a change to the internal _new_thread() API as we need to
provide a separate pointer for the k_thread.

By default, we still create internal threads with the k_thread in stack
memory. Forthcoming patches will change this, but we first need to make
it easier to define k_thread memory of variable size depending on
whether we need to store coprocessor state or not.

Change-Id: I533bbcf317833ba67a771b356b6bbc6596bf60f5
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-05-11 20:24:22 -04:00
..
atomic.rst doc: move kernel_v2 to kernel 2016-12-24 01:53:16 +00:00
cpu_idle.rst doc: move kernel_v2 to kernel 2016-12-24 01:53:16 +00:00
cxx_support.rst doc: move kernel_v2 to kernel 2016-12-24 01:53:16 +00:00
float.rst kernel: add k_thread_create() API 2017-05-11 20:24:22 -04:00
interrupts.rst doc: misspelling and UTF-8 fixes 2017-05-09 20:15:49 -04:00
other.rst doc: add polling API to the kernel primer 2017-02-20 15:35:44 +00:00
polling.rst doc/kernel: Fix polling documentation 2017-05-08 08:28:32 -04:00
ring_buffers.rst docs: convert to using newly introduced integer sized types 2017-04-21 16:11:51 +00:00