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
562 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
245 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
8,879 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
163 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
129 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
1,046 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,948 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,130 points
168 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
93 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
1,053 views