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 <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
951393f659
commit
d91c11f5bf
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue