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 in Others by anonymous
• 140 points
95 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 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 by Gitika
• 33,770 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
• 6,910 points
133 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,260 points
4,727 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
74 views
0 votes
1 answer

Is Project Management a good career?

Definitely, project management is a great career ...READ MORE

answered Jul 23 in Others by Sirajul
• 55,620 points
26 views