Browse Source

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>
pull/10704/head
Paul Sokolovsky 7 years ago committed by Anas Nashif
parent
commit
d91c11f5bf
  1. 1
      kernel/system_work_q.c

1
kernel/system_work_q.c

@ -26,6 +26,7 @@ static int k_sys_work_q_init(struct device *dev) @@ -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…
Cancel
Save