next up previous contents
Next: Timing the Barrier Calls Up: Additing n Numbers in Previous: Parallel add version 2:   Contents

Parallel version 3 :

This is similar to version 2 except that we have used the parallel primitives to calculate the sequential part. To achieve this we spawn out 1 process only using the m_fork primitive.

File names: plladd3.c      /*source code */
            plladd3        /* executable */
            plladd3op      /* output example file */



Sushil Prasad 2004-09-16