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

Function rt_work_urgent

components/drivers/ipc/workqueue.c:438–441  ·  view source on GitHub ↗

* @brief Submit a work item to the system work queue without delay. This work item will be executed after the current work item. * * @param work is a pointer to the work item object. * * @return RT_EOK Success. */

Source from the content-addressed store, hash-verified

436 * @return RT_EOK Success.
437 */
438rt_err_t rt_work_urgent(struct rt_work *work)
439{
440 return rt_workqueue_urgent_work(sys_workq, work);
441}
442
443/**
444 * @brief Cancel a work item in the system work queue.

Callers

nothing calls this directly

Calls 1

rt_workqueue_urgent_workFunction · 0.85

Tested by

no test coverage detected