CS604 · Final-term only#168
Which of the following is correct definition for wait operation?
Show correct answer
Correct answer: A. ? wait(S) { (Page 111)
while(S<=0)
;// no op
S--;
}
Check community answers against your course notes.
Read the question, compare the options, and review the correct answer below.
Correct answer: A. ? wait(S) { (Page 111)
while(S<=0)
;// no op
S--;
}