The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
44 views

  1. Fails to Guarantee mutual exclusion 
  2. Guarantee mutual exclusion and prevents deadlock
  3. Fails to prevent deadlock
  4. Fails to guarantee mutual exclusion and fails to prevent deadlock
asked in Operating System by (263 points)
edited by | 44 views
0
D?
0
Given answer is C
0

@snaily16

i am pretty sure ME is guaranteed. 

0
ya and deadlock is also possible as turn =0 initially and if P1 and P0 enters simultaneously, they will get stuck in the while loop
0
correct

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
48,515 questions
52,763 answers
183,377 comments
68,234 users