mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
sched/wqueue: improve comments
This commit is contained in:
@@ -295,7 +295,7 @@ void work_notifier_teardown(int key)
|
||||
|
||||
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.
|
||||
*/
|
||||
|
||||
@@ -349,7 +349,7 @@ void work_notifier_signal(enum work_evtype_e evtype,
|
||||
irqstate_t flags;
|
||||
|
||||
/* 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();
|
||||
@@ -376,7 +376,7 @@ void work_notifier_signal(enum work_evtype_e evtype,
|
||||
notifier = (FAR struct work_notifier_entry_s *)entry;
|
||||
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.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user