Lines Matching refs:parent
166 * Register the child with the parent and then wait for all of the children
169 int synchronize_children(c_info * parent)
203 * Register with parent bumping the parent's child_count variable.
209 &parent->child_mutex);
212 pthread_mutex_lock(&parent->child_mutex);
215 my_index, parent->child_count);
218 parent->child_ptrs[parent->child_count++] = info_p;
221 &parent->child_mutex);
224 pthread_mutex_unlock(&parent->child_mutex);
321 int doit(c_info * parent)
328 if (parent != NULL) {
338 my_index = synchronize_children(parent);
449 * Talk to siblings (children of the same parent node).
457 if (parent->child_ptrs[child] != info_p) {
465 (parent->
468 if (++parent->child_ptrs[child]->
478 (&parent->
494 (parent->