mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user