sched/wqueue: improve comments

This commit is contained in:
Kian Karas 2024-11-02 16:52:30 +01:00 committed by Xiang Xiao
parent fa841237dc
commit 92f001ee0c

View file

@ -295,7 +295,7 @@ void work_notifier_teardown(int key)
flags = enter_critical_section(); flags = enter_critical_section();
/* Find the entry matching this PID in the g_notifier_pending list. We /* Find the entry matching this key in the g_notifier_pending list. We
* assume that there is only one. * assume that there is only one.
*/ */
@ -349,7 +349,7 @@ void work_notifier_signal(enum work_evtype_e evtype,
irqstate_t flags; irqstate_t flags;
/* Don't let any newly started threads block this thread until all of /* Don't let any newly started threads block this thread until all of
* the notifications and been sent. * the notifications have been sent.
*/ */
flags = enter_critical_section(); flags = enter_critical_section();
@ -376,7 +376,7 @@ void work_notifier_signal(enum work_evtype_e evtype,
notifier = (FAR struct work_notifier_entry_s *)entry; notifier = (FAR struct work_notifier_entry_s *)entry;
info = &notifier->info; info = &notifier->info;
/* Check if this is the a notification request for the event that /* Check if this is a notification request for the event that
* just occurred. * just occurred.
*/ */