Skip to content

Commit 40e64e5

Browse files
authored
[workqueue] add comment (#9046)
1 parent 540370e commit 40e64e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/drivers/ipc/workqueue.c

+1
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ rt_err_t rt_workqueue_cancel_work_sync(struct rt_workqueue *queue, struct rt_wor
404404
{
405405
/* wait for work completion */
406406
rt_sem_take(&(queue->sem), RT_WAITING_FOREVER);
407+
/* Note that because work items are automatically deleted after execution, they do not need to be deleted again */
407408
}
408409
else
409410
{

0 commit comments

Comments
 (0)