You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/28 16:27:47 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5888: workqueue: add work_foreach support

pkarashchenko commented on a change in pull request #5888:
URL: https://github.com/apache/incubator-nuttx/pull/5888#discussion_r836621544



##########
File path: include/nuttx/wqueue.h
##########
@@ -292,6 +292,10 @@ struct work_notifier_s
   worker_t worker;     /* The worker function to schedule */
 };
 
+/* This is the callback type used by work_foreach() */
+
+typedef CODE void (*work_foreach_t)(int tid, FAR void *arg);

Review comment:
       what `tid` is about? Should it be `pid`?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org