sched/wqueue: improve comments
This commit is contained in:
parent
fa841237dc
commit
92f001ee0c
1 changed files with 3 additions and 3 deletions
|
@ -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 = ¬ifier->info;
|
info = ¬ifier->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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue