Home | History | Annotate | Download | only in test

Lines Matching refs:child

1 /* Test exit of a child of a TCB_EXITING child where the toplevel process starts
26 pid_t child, got_pid;
30 child = fork();
32 switch (child) {
38 /* The thread must be initialized, it becomes thread-child of this
39 process-child (child of a child of the toplevel process). */
41 /* Here the child TCB cannot be deallocated as there still exist
42 * children (the thread child in START0). */
47 /* We must not be waiting in WAITPID when the child double-exits. */
51 assert(got_pid == child);