ISRO | ISRO CS 2020 | Question 40
The hardware implementation which provides mutual exclusion is
(A) Semaphores
(B) Test and set instruction
(C) Both options
(D) None of the options
Answer: (B)
Explanation: TSL (Test and set instruction) is obviously hardware solution.
Semaphores need kernel support to make P and V operation atomic but hardware support isn’t essential.
Option (B) is correct.
Quiz of this Question
Please Login to comment...