6.9 Master: for (i=0; i<n; i++)/*count slaves as they reach barrier*/ recv(Pany); for (i = 0; i < n; i++)/* release slaves */ send(Pi); Slave processes: send(P master ); recv(P master ); Example code:
{}