Which of the following is NOT true regarding conditional variable, e.g. x?
A) The only operations that can be invoked on a condition variable are wait() and signal()
B) x.wait() means that the process invoking this operation is suspended until another process invokes x.signal()
C) The x.signal() operation resumes exactly one suspended process
D) If no process is suspended, then the signal() operation still affects the state of the semaphore
Correct Answer:
Verified
Q34: Assume you had a function named update()
Q35: Explain what critical section problem is.
Q36: Explain two general approaches to handle critical
Q37: Which of the following is NOT true?
A)
Q38: Explain what race condition is.
Q40: What three conditions must be satisfied in
Q41: Mutex locks and counting semaphores are essentially
Q42: Semaphore implementation overcomes the busy waiting problem.
Q43: Semaphores and mutex locks both provide mutual
Q44: A semaphore has an integer value.
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents