From aa137bc74f06282f7da3783d001a45448a89ffbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikolai=20G=C3=BCtschow?= Date: Thu, 14 Nov 2024 14:09:39 +0100 Subject: [PATCH] tests/core/thread_msg: lower thread priority for consistent output order --- tests/core/thread_msg/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/core/thread_msg/main.c b/tests/core/thread_msg/main.c index 43517923f594..804ffe4d9eba 100644 --- a/tests/core/thread_msg/main.c +++ b/tests/core/thread_msg/main.c @@ -86,13 +86,13 @@ void *thread3(void *arg) int main(void) { p_main = thread_getpid(); - p1 = thread_create(t1_stack, sizeof(t1_stack), THREAD_PRIORITY_MAIN - 1, + p1 = thread_create(t1_stack, sizeof(t1_stack), THREAD_PRIORITY_MAIN + 1, THREAD_CREATE_WOUT_YIELD, thread1, NULL, "nr1"); - p2 = thread_create(t2_stack, sizeof(t2_stack), THREAD_PRIORITY_MAIN - 1, + p2 = thread_create(t2_stack, sizeof(t2_stack), THREAD_PRIORITY_MAIN + 1, THREAD_CREATE_WOUT_YIELD, thread2, NULL, "nr2"); - p3 = thread_create(t3_stack, sizeof(t3_stack), THREAD_PRIORITY_MAIN - 1, + p3 = thread_create(t3_stack, sizeof(t3_stack), THREAD_PRIORITY_MAIN + 1, THREAD_CREATE_WOUT_YIELD, thread3, NULL, "nr3"); puts("THREADS CREATED\n");