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 ...
I have an object that maintains a number of internal pthreads. In the object destructor, I want to kill any running internal threads. The thread executing the destructor will not be one of these ...