CLOG_treesetup4
Locally determine parent and children in binary tree
Usage
void CLOG_treesetup( self, numprocs, myparent, mylchild, myrchild) int self, numprocs, *myparent, *mylchild, *myrchild;
Input parameters
self-
- calling process's id
np-
- total number of processes in tree
Output parameters
parent-
- parent in binary tree (or -1 if root)
lchild-
- left child in binary tree (or -1 if none)
rchild-
- right child in binary tree (or -1 if none)
Location
clog_merge.c
Releases
7 releases since Debian 2.0 (Hamm); the text changed 3 times.