Question: process() { a = 0: (while a == 0) {a = TESTANDSET(X)} Critical Section X = 1: } true false - testAndSet could be either
process() { a = 0: (while a == 0) {a = TESTANDSET(X)} Critical Section X = 1: } true false - testAndSet could be either hardware or software true false - this solution insures mutual exclusion for more than 2 processes true false - testandset does not need to be atomic true false -X = l indicates that the critical section is not available
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
