From d91c11f5bf7e7e39ba6eb928fed3c96edc53d7f3 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 12 Oct 2018 21:14:48 +0300 Subject: [PATCH] kernel: system_work_q: Set dedicated "sysworkq" name. Previously, a generic "workqueue" name was used, but there're few workqueues in a typical Zephyr setup, and it wasn't possible to distinguish them. Signed-off-by: Paul Sokolovsky --- kernel/system_work_q.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/system_work_q.c b/kernel/system_work_q.c index 2027b596fed..48c6791ea30 100644 --- a/kernel/system_work_q.c +++ b/kernel/system_work_q.c @@ -26,6 +26,7 @@ static int k_sys_work_q_init(struct device *dev) sys_work_q_stack, K_THREAD_STACK_SIZEOF(sys_work_q_stack), CONFIG_SYSTEM_WORKQUEUE_PRIORITY); + k_thread_name_set(&k_sys_work_q.thread, "sysworkq"); return 0; }