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> |
||
|---|---|---|
| .. | ||
| main.c | ||
| Makefile | ||
| test_threads_cancel_abort.c | ||
| test_threads_spawn.c | ||
| test_threads_suspend_resume.c | ||