diff options
| author | liuduanfei <[email protected]> | 2021-05-28 17:32:01 +0800 |
|---|---|---|
| committer | Gitee <[email protected]> | 2021-05-28 17:32:01 +0800 |
| commit | ec1f22b87dabfad5ce6fb99d6b075ffea868b3f6 (patch) | |
| tree | ab5f2730d2805a84b5b0c6cc7a1501cc96c7c8d4 /components | |
| parent | 141effcae3f50a0096441984bb2bc973da1433ad (diff) | |
添加 rt_workqueue_critical_work 声明
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/include/ipc/workqueue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/include/ipc/workqueue.h b/components/drivers/include/ipc/workqueue.h index ccbc42b226..03d38b2f4d 100644 --- a/components/drivers/include/ipc/workqueue.h +++ b/components/drivers/include/ipc/workqueue.h @@ -64,6 +64,7 @@ rt_err_t rt_workqueue_submit_work(struct rt_workqueue *queue, struct rt_work *wo rt_err_t rt_workqueue_cancel_work(struct rt_workqueue *queue, struct rt_work *work); rt_err_t rt_workqueue_cancel_work_sync(struct rt_workqueue *queue, struct rt_work *work); rt_err_t rt_workqueue_cancel_all_work(struct rt_workqueue *queue); +rt_err_t rt_workqueue_critical_work(struct rt_workqueue *queue, struct rt_work *work); #ifdef RT_USING_SYSTEM_WORKQUEUE rt_err_t rt_work_submit(struct rt_work *work, rt_tick_t time); |
