Jump to content

operating system


Guest nivsah

Recommended Posts

Guest nivsah

1) In the second attempt towards Dekker's algorithm, is starvation possible? If there are two processes and one processor and both processes want to enter the critical section, show how one of the processes could continually enter the critical section while the other is kept out.

 

2) In Peterson's Algorithm, if both processes want to enter the critical section, what keeps starvation from occuring?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.