1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #18585 from maribu/tests/thread_priority_inversion

tests/thread_priority_inversion: improve output for debugging
This commit is contained in:
benpicco 2022-09-13 13:49:34 +02:00 committed by GitHub
commit 0022e0d3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,11 @@ static void busy_delay(void)
static void record_thread_started(const char *priority)
{
print_str(priority);
print_str(" priority thread has started\n");
print_str(" priority thread (pid = ");
print_u32_dec(thread_getpid());
print_str(", prio = ");
print_u32_dec(thread_get_active()->priority);
print_str(") has started\n");
}
static void record_thread_working(const char *priority)