• edited by
1,107 views
1 1 vote

  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

Please log in or register to answer this question.

Position:
Show:

Related questions

3 3 votes
1 1 answer
1.4k
1.4k views
shaz asked Jan 16, 2019
1,447 views
Consider the below code for synchronizing the classical readers and writers. int rc = 0; int c = 0; Semaphore mutex =1; Semaphore db =1; void Reader(void) { L1: down (mut...
2 2 votes
1 1 answer
831
831 views
charul asked Jan 24, 2018
831 views
does this satisfy progress , if no then why?
3 3 votes
1 1 answer
1.8k
1.8k views
Rishabh Gupta 2 asked Jan 23, 2018
1,762 views
Consider two processes P1 and P2 accessing shared variable ‘x’ and ‘y’ protected by two binary semaphores Sx and Sy respectively both initialized to 1. ‘wait’ and ‘signal...
0 0 votes
0 0 answers
846
846 views
Hopealways asked Dec 1, 2018
846 views
In these type of questions “Will we NOT consider CONTEXT SWITCHING unless mentioned???”If context switching is ALLOWED, minimum value will be 8...Correct me if I’m wrong.