Producer-Consumer simulation for C/C++ in UNIX class (CS 3376)