Which of the following statements is true?
A) A counting semaphore can never be used as a binary semaphore.
B) A binary semaphore can never be used as a counting semaphore.
C) Spinlocks can be used to prevent busy waiting in the implementation of semaphore.
D) Counting semaphores can be used to control access to a resource with a finite number of instances.
Correct Answer:
Verified
Q20: In _, the process may be changing
Q21: What is the correct order of operations
Q22: Explain what busy waiting is.
Q23: The counting semaphore is initialized to _.
A)
Q24: What is the difference between counting semaphore
Q26: Under which of the following contention loads
Q27: What is meant by "short duration"?
Q28: Which of the following is NOT true
Q29: Which of the following is true?
A) No
Q30: Which of the following may cause a
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