Is Peterson s Algorithm a good solution for Critical Section problem If yes then why If no then why

0 votes
operting system course
Jul 3, 2020 in Others by anonymous
• 140 points
433 views

2 answers to this question.

0 votes
Is Peterson’s Algorithm a good solution for Critical Section problem? If yes, then why? If no, then why?
answered Jul 6, 2020 by anonymous
0 votes

Peterson’s solution provides a good algorithmic description of solving the critical-section problem and illustrates some of the complexities involved in designing software.

The structure of process Pi in Peterson’s solution. This solution is restricted to two processes that alternate execution between their critical sections and the remainder sections. The processes are numbered P0 and P1.

answered Jul 6, 2020 by Gitika
• 65,870 points

Related Questions In Others

0 votes
1 answer
0 votes
0 answers

why is x-access-token header used for?

Can anyone explain this? READ MORE

Jun 27, 2019 in Others by shubham
• 7,320 points
218 views
0 votes
1 answer

why is x-access-token header used for?

To understand this we need to understand ...READ MORE

answered Jun 27, 2019 in Others by sunshine
• 1,280 points
7,817 views
0 votes
1 answer

Is a good practice to use domain name generator?

To start off with let me explain ...READ MORE

answered Oct 28, 2019 in Others by Pavan
147 views
0 votes
0 answers

why linux is more secure than windows?

which features make linux more secure than ...READ MORE

Jul 11, 2018 in Others by kristena1234
• 160 points
115 views
0 votes
1 answer

why linux is more secure than any other operating system?

First thing i would like to tell ...READ MORE

answered Jul 11, 2018 in Others by kristena1234
• 160 points
967 views
0 votes
1 answer

How to check if array is multidimensional or not?

Since the 'second dimension' could be just ...READ MORE

answered Nov 5, 2018 in Others by DataKing99
• 8,240 points
2,548 views
0 votes
1 answer

Where is the documentation to refer for coinbase api integration of Etherium coin currency in php?

Hey there! Please refer to the following ...READ MORE

answered Jan 25, 2019 in Others by Omkar
• 69,090 points
138 views
0 votes
0 answers

Wafcoin: Legalization is the cornerstone for long-term development

Wafcoin token trading platform has always insisted ...READ MORE

Jan 29, 2019 in Others by anonymous
81 views
0 votes
1 answer

Is JavaScript a case-sensitive language?

Yes, JavaScript is a case sensitive language.  The language ...READ MORE

answered Mar 6, 2019 in Others by Frankie
• 9,810 points
935 views