diff options
| author | wdfk-prog <[email protected]> | 2024-06-12 19:50:37 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-12 19:50:37 +0800 |
| commit | 40e64e5be679523b95f2acd66bc4343be102ba94 (patch) | |
| tree | efc8f8ec16a75d035a9320fa1c64639bf8f0b2d9 /components | |
| parent | 540370e4de782e5723427a2c5a527fab3c0863c9 (diff) | |
[workqueue] add comment (#9046)
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/ipc/workqueue.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
