1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

tests/thread_priority_inversion: improve output for debugging

This commit is contained in:
Marian Buschsieweke 2022-09-11 10:27:05 +02:00
parent dfcd2e519b
commit e6cc508d8d
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

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)