unified: Enable handling of thread options for static threads
Change-Id: I51d2d9cfa0eeb5f974a6cf1db32406399ef57418 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
6cfe1322f8
commit
743bdb8143
5 changed files with 5 additions and 5 deletions
|
@ -123,6 +123,7 @@ void _new_thread(char *pStackMem, unsigned stackSize,
|
|||
#else
|
||||
tcs->link = NULL;
|
||||
tcs->flags = priority == -1 ? TASK | PREEMPTIBLE : FIBER;
|
||||
ARG_UNUSED(options);
|
||||
#endif
|
||||
tcs->prio = priority;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue