Condition Variables
CSC 213 - Operating Systems and Parallel Algorithms - Weinman
Answer the following questions. Record your answers in your Reading
Journal.
- Select the sentence from today's reading that best distinguishes
the roles of locks and condition variables, respectively.
Briefly (3-5 sentences) explain your selection.
- In your own words, explain why using a while, rather than
if around a condition wait is important.
- Though all are necessary for correctness, identify the line in Figure
30.10 that you find most important. Briefly (3-5 sentences)
explain why you chose this line over the others.