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

Function rt_workqueue_dowork

components/drivers/ipc/workqueue.c:275–281  ·  view source on GitHub ↗

* @brief Submit a work item to the work queue without delay. * * @param queue is a pointer to the workqueue object. * * @param work is a pointer to the work item object. * * @return RT_EOK Success. */

Source from the content-addressed store, hash-verified

273 * @return RT_EOK Success.
274 */
275rt_err_t rt_workqueue_dowork(struct rt_workqueue *queue, struct rt_work *work)
276{
277 RT_ASSERT(queue != RT_NULL);
278 RT_ASSERT(work != RT_NULL);
279
280 return _workqueue_submit_work(queue, work, 0);
281}
282
283/**
284 * @brief Submit a work item to the work queue with a delay.

Callers 9

rt_hw_serial_isrFunction · 0.85
thread_rx2Function · 0.85
timer_callbackFunction · 0.85
rt_wlan_workqueue_doworkFunction · 0.85
aio_fsyncFunction · 0.85
aio_readFunction · 0.85
aio_writeFunction · 0.85
USB_OTG1_IRQHandlerFunction · 0.85
hal_workqueue_doworkFunction · 0.85

Calls 1

_workqueue_submit_workFunction · 0.85

Tested by

no test coverage detected