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>
This commit is contained in:
parent
35ffaff43d
commit
06aefdb654
2 changed files with 3 additions and 3 deletions
|
@ -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) = \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue