• edited by
2,160 views
3 3 votes
Synchronisation Mechanism Mutal Exclusion Progress Bounded Waiting Deadlock Remarks
Lock Variable          
Strict Alternation          
Peterson's Solution          
Dekker's Algorithm          
Test and Set Lock          
SWAP          
Fetch And Add / Test And Add          

1 Answer

Best answer
3 3 votes
Condition for Synchronization mechanism divided into 2 Parts

1)Primary

     a) Mutual Exclusion

     b) Progress

2)Secondary

    a)Bounded waiting time

A) Lock variable does not provide

    a) ME(because many process can access the CS)

Thus as it fails primary requirement of synchronization we don't go for others.

B) Strict alteration provides

   a) ME(Only two process solution)

   b)BW(First have to enter the then second)

   c)not progress(Other process has to enter into cs to enable the cs for other process)

   d)free from dead lock (Only two process)

C) Peterson's Algorithm provides

   a) ME(Two process solution)

    b) Progress

    c) BW

    d) free from deadlock

D) Dekker's algorithm provides

    a) ME

    b) Progress

    c)BW

    d) free from Deadlock

E) Test and Set provides

     a) ME

      b) Progress

      c) free from deadlock
• selected by
Position:
Show:

Related questions

0 0 votes
0 0 answers
206
206 views
tarunmundriya asked Dec 27, 2025
206 views
Consider a system consisting of processes P1, P2, ..., Pn, each of which has a unique priority number. Write a monitor that allocates three identical printers to these pr...
0 0 votes
0 0 answers
579
579 views
Redlex69 asked Jan 7, 2025
579 views
Caption@Sachin Mittal 1 @DEEPAK_POONIA
0 0 votes
1 answers 1 answer
1.5k
1.5k views
ajayraho asked Oct 23, 2022
1,476 views
What is the significance of infinite loop that is written in every example of process synchronisation? What would happen if there wasn't any infinite loop?
3 3 votes
0 0 answers
2.3k
2.3k views
iarnav asked Sep 28, 2018
2,303 views
Any implementation of a critical section requires the use of an indivisible machine- instruction ,such as test-and-set?Is the above statement True or False?