edited by
1,532 views
3 votes
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          
edited by

1 Answer

Best answer
3 votes
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

Related questions

0 votes
0 votes
1 answer
1
ajayraho asked Oct 23, 2022
923 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 votes
3 votes
0 answers
2
iarnav asked Sep 28, 2018
795 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?