casaroli commented on code in PR #20130:
URL: https://github.com/apache/nuttx/pull/20130#discussion_r4036789198


##########
sched/signal/sig_notification.c:
##########
@@ -155,7 +175,11 @@ int nxsig_notification(pid_t pid, FAR struct sigevent 
*event,
       /* Initialize the work information */
 
       work->value = event->sigev_value;
+#ifdef CONFIG_FDPIC
+      work->desc.entry = (uintptr_t)event->sigev_notify_function;

Review Comment:
   This line only fills entry; got was recorded by `mq_notify()` or 
`timer_create()`, and `fdpic_base()` is zero here because 
`nxsig_notification()` runs from a driver, `timer_settime()` or 
`mq_sndinternal()`, so the helper would wipe it.



-- 
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]

Reply via email to