Multiple Choice
Which of the following is a software-based solution to the critical-section problem?
A) Peterson's solution
B) test_and_set
C) compare_and_swap
D) all of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: What is the difference between counting semaphore
Q3: Which of the following critical-section problem's requirements
Q4: Which of the following indicates that P<sub>i</sub>
Q5: Spinlocks are not appropriate for single-processor systems.
Q6: Which of the following variables are shared
Q8: A semaphore has an integer value.
Q9: Which of the following critical-section problem's requirements
Q10: Which of the following is NOT true
Q11: Which of the following critical-section problem's requirements
Q12: Which of the following is true for