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:
Allan Stephens 2016-10-26 10:46:44 -05:00
commit 743bdb8143
5 changed files with 5 additions and 5 deletions

View file

@ -135,6 +135,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;