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


##########
sched/sched/sched.h:
##########
@@ -127,6 +127,20 @@
  * is used to map a task_state enumeration to the corresponding task list.
  */
 
+/* The rendezvous between a suspended vfork() parent and its child.  This
+ * lives in the frame of nxtask_start_fork() on the parent's stack:  the
+ * parent is blocked in that frame for the whole lifetime of the child, so
+ * the storage is alive exactly as long as it is needed, and no allocation
+ * is required on a path that must not fail.
+ */
+
+#ifdef CONFIG_ARCH_HAVE_VFORK
+struct vfork_s
+{
+  sem_t sem;                             /* Posted when the child is done   */

Review Comment:
   done



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