casaroli commented on code in PR #20130:
URL: https://github.com/apache/nuttx/pull/20130#discussion_r4020393680
##########
include/nuttx/signal.h:
##########
@@ -67,7 +70,14 @@ struct sigwork_s
{
struct work_s work; /* Work queue structure */
union sigval value; /* Data passed with notification */
+#ifdef CONFIG_FDPIC
+ struct fdpic_desc_s desc; /* Notification function, and the data base
+ * of a module callback or zero. The base is
+ * captured at registration and installed
+ * around the call on the worker thread. */
+#else
sigev_notify_function_t func; /* Notification function */
Review Comment:
the firmware and the built-in applications are not FDPIC, so their
`sigev_notify_function` is plain. Only way to tell them apart is the
registering context.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]