jerpelea opened a new pull request, #21292: URL: https://github.com/apache/nuttx/pull/21292
## Summary Pass the terminated child PID into the exit-status helper instead of looking up the current task PID. task_delete() executes the exit hook in the deleting task's context, so using nxsched_getpid() can update the wrong child record or leave the terminated child unmarked. Use the process-group PID only when marking final group exit, so kernel-thread child records continue to use their actual task PID. This allows waitpid() to observe children terminated by another task. ## Impact RELEASE ## Testing CI -- 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]
