Multiple Choice
The test-and-set instruction ________.
A) prevents deadlock
B) prevents indefinite postponement
C) eliminates the possibility that a thread is preempted between reading a value from a memory location and writing a new value to the memory location
D) none of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Which property of mutual exclusion primitives is
Q2: Semaphores can be used for each of
Q3: Which of the following statements about critical
Q4: _ occurs when an infinite loop prevents
Q5: A _ is a variable that governs
Q7: If a thread attempts a P operation
Q8: _ restricts access to a shared variable
Q9: A thread that uses processor cycles to
Q10: Disabling interrupts _.<br>A) is a viable solution
Q11: Threads that operate independently of one another