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.
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.