diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2016-10-21 15:14:59 -0500 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-10-25 00:10:33 +0000 |
commit | 06aefdb6542bb478e76f6670859fcd72ae2fee46 (patch) | |
tree | 25f0744a9121ccefb43b1caad6c1c1016184f49c /include | |
parent | 35ffaff43dd256b1bbfd2bc1a60776cfb32f1af3 (diff) |
unified: Align thread creation APIs
Aligns the APIs for defining a thread at compile time and for
spawning a thread at run time.
Change-Id: Ic5df450cbe4d0eb562fb4a608f1ac5a8a7cb4b96
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.h b/include/kernel.h index 9cc1c0f34..ca83e5814 100644 --- a/include/kernel.h +++ b/include/kernel.h @@ -230,7 +230,7 @@ struct _static_thread_data { */ #define K_THREAD_DEFINE(name, stack_size, \ entry, p1, p2, p3, \ - abort, prio, delay) \ + prio, options, delay) \ char __noinit __stack _k_thread_obj_##name[stack_size]; \ struct _static_thread_data _k_thread_data_##name __aligned(4) \ __in_section(_k_task_list, private, task) = \ |