Lines Matching refs:parent
25 * returns result to parent
185 * Register the child with the parent and then wait for all of the children
188 int synchronize_children(c_info * parent)
217 /* Register with parent bumping the parent's child_count variable.
222 &parent->child_mutex);
225 pthread_mutex_lock(&parent->child_mutex);
228 my_index, parent->child_count);
231 parent->child_ptrs[parent->child_count++] = info_p;
234 &parent->child_mutex);
237 pthread_mutex_unlock(&parent->child_mutex);
324 c_info *parent = (c_info *) param;
330 if (parent != NULL) {
338 my_index = synchronize_children(parent);
437 /* Talk to siblings (children of the same parent node). */
442 if (parent->child_ptrs[child] != info_p) {
450 (parent->
453 if (++parent->child_ptrs[child]->
463 (&parent->
479 (parent->