mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 00:29:46 +01:00
Merge pull request #20989 from mguetschow/tests-thread-priority
tests/core/thread_msg: lower thread priority for consistent output order
This commit is contained in:
commit
d0e4f4d279
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user