I have to write a program for school that uses threads. Threading isn't the point of the assignment, so there may be other ways of doing what I need to accomplish, but this seems like the only ...
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 ...