Multiple choice

____ instruction(s) is/are intended for direct hardware support of mutual exclusion.

  1. Test and set

  2. Set and test

  3. Both 1 and 2

  4. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Test-and-Set is a fundamental hardware instruction that atomically reads and modifies a memory location, making it ideal for implementing mutual exclusion primitives. Set-and-Test is not a standard hardware instruction.