Parallel Programming

Open-Ended PThreads Assignment

Devise a simple problem that will demonstrate critical sections using locks and condition variables.

Produce a working Pthreads program (on one computer) to solve this problem.

The problem should not need more than 3 pages of code.

(Do not use the Pthreads example in Chapter 8, nor those given on the parallel programming home page)

Write a short report describing the problem and the results you obtain.

Pthreads should be available on most versions of UNIX. Use #include < pthread.h > and compile with -lpthread.

Submit email copy to Instructor.

Grading will be subjective!