Multiple Choice
Which of the following is not true about test_and_set instruction?
A) It is a hardware instruction
B) It is executed atomically
C) Returns the original value of passed parameter
D) Returns the new value of passed parameter
E) Set the new value of passed parameter to "TRUE"
Correct Answer:

Verified
Correct Answer:
Verified
Q19: Write two short methods that implement the
Q20: Explain what critical section problem is.
Q21: Which of the following statements is true?<br>A)
Q22: Mutex locks and counting semaphores are essentially
Q23: Assume you had a function named update()
Q25: Which of the following is not true
Q26: Explain what race condition is.
Q27: Semaphores and mutex locks both provide mutual
Q28: Under which of the following contention loads
Q29: Which of the following regarding mutex lock