Sending in a ring (broadcast by ring)

 

$username@machine [~/temp2] % mpcc -O3 -o ring ring.c
$username@machine [~/temp2] % poe ring -rmpool 1 -procs 4 
10
Process 0 got 10
Process 1 got 10
Process 2 got 10
Process 3 got 10
22
Process 0 got 22
Process 1 got 22
Process 2 got 22
Process 3 got 22
-1
Process 0 got -1
Process 1 got -1
Process 2 got -1
Process 3 got -1