fix(os): add support for thread names (#7579)

Signed-off-by: Cristian Stoica <cristianmarian.stoica@nxp.com>
This commit is contained in:
cristian-stoica
2025-01-15 08:31:05 +02:00
committed by GitHub
parent 9f4df225c8
commit b1728f85b3
17 changed files with 42 additions and 28 deletions

View File

@@ -51,7 +51,8 @@ void lv_example_osal(void)
LV_LOG_ERROR("Error initializing thread sync");
}
if(lv_thread_init(&increment_thread, LV_THREAD_PRIO_MID, increment_thread_entry, 2048, NULL) != LV_RESULT_OK) {
if(lv_thread_init(&increment_thread, "inc_th", LV_THREAD_PRIO_MID, increment_thread_entry, 2048,
NULL) != LV_RESULT_OK) {
LV_LOG_ERROR("Error initializing thread");
}
}