From 40e64e5be679523b95f2acd66bc4343be102ba94 Mon Sep 17 00:00:00 2001 From: wdfk-prog <1425075683@qq.com> Date: Wed, 12 Jun 2024 19:50:37 +0800 Subject: [PATCH] [workqueue] add comment (#9046) --- components/drivers/ipc/workqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/drivers/ipc/workqueue.c b/components/drivers/ipc/workqueue.c index 9a1301618d..6862a35843 100644 --- a/components/drivers/ipc/workqueue.c +++ b/components/drivers/ipc/workqueue.c @@ -404,6 +404,7 @@ rt_err_t rt_workqueue_cancel_work_sync(struct rt_workqueue *queue, struct rt_wor { /* wait for work completion */ rt_sem_take(&(queue->sem), RT_WAITING_FOREVER); + /* Note that because work items are automatically deleted after execution, they do not need to be deleted again */ } else {