GATE - 2007 | OS | Q-125 | Two processes, P1 and P2, need to access a critical | GATE2IIT | PYQ

preview_player
Показать описание
Two processes, P1 and P2, need to access a critical section of code. Consider the following synchronization construct used by the processes:Here, wants1 and wants2 are shared variables, which are initialized to false. Which one of the following statements is TRUE about the above construct?
#gate2iit
#gate
#os
Рекомендации по теме