Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

ISRO | ISRO CS 2020 | Question 40

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Last Updated : 04 Sep, 2020
Like Article
Save Article
Similar Reads