The answer jumps right out at me using pthreads and mutexes. However, we're instructed to use "pthreads, mutexes and conditions", and I made sure the professor meant "condition variables".<BR><BR>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 ...