Problem
1. A condition variable in DCE is always associated with a mutex. Why?
2. A programmer has just written a piece of multithreaded code that uses a private data structure. The data structure may not be accessed by more than one thread at a time. Which kind of mutex should be used to protect it?
3. Name two plausible attributes that the template for a thread might contain.