Skip to content

Commit

Permalink
tests/core/thread_msg: lower thread priority for consistent output order
Browse files Browse the repository at this point in the history
  • Loading branch information
mguetschow committed Nov 14, 2024
1 parent 70aa1ec commit aa137bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/core/thread_msg/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit aa137bc

Please sign in to comment.