Lines Matching full:child
1488 * (where '-' is us, 'o' is the child, and '+' is some other thread):
1493 * - sleep on condition var (mutex = thread list lock) until child starts
1498 * o child thread wakes, signals condition var to wake parent
1499 * o child waits for parent ack on condition variable
1501 * - add child to thread list
1506 * - set child to THREAD_VMWAIT, and signal it to start
1508 * o child resumes
1509 * o child changes state to THREAD_RUNNING
1515 * Once the child is in the thread list, it will be suspended and
1518 * suspended, and try to decrement the child's thread suspend count to -1.
1524 * One alternative to having the child wait for the parent would be
1525 * to have the child inherit the parents' suspension count. This
1529 * suspend singly by the debugger, the child should not inherit the value.
1800 * Wait for the child to start. This gives us an opportunity to make
1805 * possible that the child will already have completed its
1806 * initialization. Because the child only adjusts "createStatus" while
1823 /* don't free pArgs -- if pthread_create succeeded, child owns it */