diff --git a/tests/core/thread_msg/main.c b/tests/core/thread_msg/main.c index 43517923f5..74c605f946 100644 --- a/tests/core/thread_msg/main.c +++ b/tests/core/thread_msg/main.c @@ -86,14 +86,11 @@ void *thread3(void *arg) int main(void) { p_main = thread_getpid(); - p1 = thread_create(t1_stack, sizeof(t1_stack), THREAD_PRIORITY_MAIN - 1, - THREAD_CREATE_WOUT_YIELD, + p1 = thread_create(t1_stack, sizeof(t1_stack), THREAD_PRIORITY_MAIN + 1, 0, thread1, NULL, "nr1"); - p2 = thread_create(t2_stack, sizeof(t2_stack), THREAD_PRIORITY_MAIN - 1, - THREAD_CREATE_WOUT_YIELD, + p2 = thread_create(t2_stack, sizeof(t2_stack), THREAD_PRIORITY_MAIN + 1, 0, thread2, NULL, "nr2"); - p3 = thread_create(t3_stack, sizeof(t3_stack), THREAD_PRIORITY_MAIN - 1, - THREAD_CREATE_WOUT_YIELD, + p3 = thread_create(t3_stack, sizeof(t3_stack), THREAD_PRIORITY_MAIN + 1, 0, thread3, NULL, "nr3"); puts("THREADS CREATED\n");