zephyr/tests/kernel/threads/lifecycle/lifecycle_api/src
Andrew Boie 7d627c5971 k_thread_create(): allow K_FOREVER delay
It's now possible to instantiate a thread object, but delay its
execution indefinitely. This was already supported with K_THREAD_DEFINE.

A new API, k_thread_start(), now exists to start threads that are in
this state.

The intended use-case is to initialize a thread with K_USER, then grant
it various access permissions, and only then start it.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-09-07 16:35:04 -07:00
..
main.c k_thread_create(): allow K_FOREVER delay 2017-09-07 16:35:04 -07:00
Makefile tests: threads_lifecycle/ -> threads/lifecycle 2017-06-19 09:01:14 -04:00
test_threads_cancel_abort.c tests: threads_lifecycle/ -> threads/lifecycle 2017-06-19 09:01:14 -04:00
test_threads_spawn.c k_thread_create(): allow K_FOREVER delay 2017-09-07 16:35:04 -07:00
test_threads_suspend_resume.c tests: threads_lifecycle/ -> threads/lifecycle 2017-06-19 09:01:14 -04:00