Skip to content

Commit 5c33d2a

Browse files
committed
platform: fix name of threads
1 parent 4671e45 commit 5c33d2a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

platform/rtos/freertos/src/mender-rtos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ mender_rtos_init(void) {
9696
}
9797
if (pdPASS
9898
!= xTaskCreate(mender_rtos_work_queue_thread,
99-
"mender",
99+
"mender_rtos_work_queue",
100100
(configSTACK_DEPTH_TYPE)(CONFIG_MENDER_RTOS_WORK_QUEUE_STACK_SIZE * 1024 / sizeof(configSTACK_DEPTH_TYPE)),
101101
NULL,
102102
CONFIG_MENDER_RTOS_WORK_QUEUE_PRIORITY,

platform/rtos/zephyr/src/mender-rtos.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ mender_rtos_init(void) {
8585
CONFIG_MENDER_RTOS_WORK_QUEUE_STACK_SIZE * 1024,
8686
CONFIG_MENDER_RTOS_WORK_QUEUE_PRIORITY,
8787
NULL);
88+
k_thread_name_set(k_work_queue_thread_get(&mender_rtos_work_queue_handle), "mender_rtos_work_queue");
8889

8990
return MENDER_OK;
9091
}

0 commit comments

Comments
 (0)