CSCI 431 Homework 9

time due submission file
last day of class csci/431/HW9/primeExp.c

The project

Start by downloading the starter ZIP file. This is a working sequential program. Your assignment is to make it a bit more concurrent with Pthreads. In particular, note the two calls to primeSearch that occur within a loop of the main routine. Modify the program so that these are run in separate Pthreads.

This isn't hard, but some solutions will be more efficient that others and they shall be rewarded.

Another reference

You may find it useful to look at the Parallel dot-product program discussed in class.

Turning in

Copy and primeEx.cpp to the assignment drop-off directory.