The textbook doesn't talk about condition variables, and the professor sucks. It took me a while just to track down how to use pthread_cond_wait (). I've tried programming it with what I think is the ...