Squashed commit of the following:

sched/wqueue:  Modify high priority work queue to support multiple threads.

    sched/wqueue and libs/libc/wqueue:  workqueues don't need set global data to zero since .bss is cleared automatically.  Removing this unnecessary initialization also avoids the loss the work items queued before initialization.
This commit is contained in:
ligd
2018-08-25 14:52:13 -06:00
committed by Gregory Nutt
parent 72fd2a5e34
commit 631071cded
8 changed files with 161 additions and 85 deletions
-1
View File
@@ -341,7 +341,6 @@ int work_usrstart(void)
/* Initialize work queue data structures */
g_usrwork.delay = CONFIG_LIB_USRWORKPERIOD / USEC_PER_TICK;
dq_init(&g_usrwork.q);
#ifdef CONFIG_BUILD_PROTECTED
{