CS 180 - Assignment #4


Do not use pthread_exit() in your code. There is a known issue with valgrind and it causes problems with leak checking. Instead of pthread_exit(), just use a return statement in your code. If you fail to follow these instructions, you will lose points when valgrind complains. Also, make sure you check the return values of the pthreads functions to make sure they were successful. The grader will deduct points if you haven't checked the return values (regardless of whether or not they succeeded).

Additional information