7 views

1 Answers

In computer science, the test-and-set CPU instruction is used to implement mutual exclusion in multiprocessor environments. Although a correct lock can be implemented with test-and-set, it can lead to resource contention in busy lock.

To lower the overhead a more elaborate locking protocol test and test-and-set is used.

Given a lock:

Entry protocol is:

7 views

Related Questions

What is Acceptance set?
1 Answers 4 Views
What is Contour set?
1 Answers 9 Views
What is The Get Set?
1 Answers 4 Views
What is Corona set?
1 Answers 7 Views
What is Resident set size?
1 Answers 4 Views
What is Working set size?
1 Answers 4 Views