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:
Paul Sokolovsky 2018-10-12 21:14:48 +03:00 committed by Anas Nashif
commit d91c11f5bf

View file

@ -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;
}