MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_work_sys_workqueue_init

Function rt_work_sys_workqueue_init

components/drivers/ipc/workqueue.c:456–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456static int rt_work_sys_workqueue_init(void)
457{
458 if (sys_workq != RT_NULL)
459 return RT_EOK;
460
461 sys_workq = rt_workqueue_create("sys workq", RT_SYSTEM_WORKQUEUE_STACKSIZE,
462 RT_SYSTEM_WORKQUEUE_PRIORITY);
463 RT_ASSERT(sys_workq != RT_NULL);
464
465 return RT_EOK;
466}
467INIT_PREV_EXPORT(rt_work_sys_workqueue_init);
468#endif /* RT_USING_SYSTEM_WORKQUEUE */
469#endif /* RT_USING_HEAP */

Callers

nothing calls this directly

Calls 1

rt_workqueue_createFunction · 0.85

Tested by

no test coverage detected