What is the primary purpose of the Test and Set instruction in process…

What is the primary purpose of the Test and Set instruction in process synchronization?

  1. A.

    To test whether a process is set to run

  2. B.

    To perform a mathematical calculation

  3. C.

    To provide a mechanism for mutual exclusion

  4. D.

    To evaluate the state of a semaphore

Attempted by 395 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…