Will the idea work if three or more processes use semaphore

Assignment Help Operating System
Reference no: EM13869490

The Nevercrash Operating System Company has been receiving complaints from some of its customers about its latest release, which includes semaphore operations. They feel it is immoral for processes to block (they call it ‘‘sleeping on the job''). Since it is company policy to give the customers what they want, it has been proposed to add a third operation, peek, to supplement up and down. peek simply examines the sema- phore without changing it or blocking the process. In this way, programs that feel it is immoral to block can first inspect the semaphore to see if it is safe to do a down. Will this idea work if three or more processes use the semaphore? If two processes use the semaphore?

Reference no: EM13869490

Questions Cloud

Does the method work if there is a single cpu switches : Does this method work if There is a single CPU that switches between processes every 100 msec and Two CPUs share a common memory in which the semaphore is located?
What advantage is gained by using queue for waiting process : What advantage is gained by using a queue for waiting processes as opposed to waking a random sleeping processes when an up is performed?
What are the potential long-term consequences for rosie : Which of the four most common roles in family systems do you think Rosie is taking on? What are the potential long-term consequences for Rosie in taking on these heavy responsibilities
Gunpowder corp.''s board of directors approved a : On November 6, 2009, Gunpowder Corp.'s board of directors approved a share option plan for key executives. On January 2, 2010, a specific number of share options were granted.
Will the idea work if three or more processes use semaphore : In this way, programs that feel it is immoral to block can first inspect the semaphore to see if it is safe to do a down. Will this idea work if three or more processes use the semaphore? If two processes use the semaphore?
Identify which boundary is best described by each family : Identify which boundary is best described by each family in the scenario above. Identify which boundary inadequacies are present in each family, if applicable. Explain how each boundary and boundary inadequacy manifests itself
How is a substance use disorder diagnosed : What category of substances do cocaine and amphetamine fall under, and what are the implications of this category on the body? Be sure to give the classification, DEA schedule, and physical effects. How is a substance use disorder diagnosed
Write lock and unlock in assembly language : If all processes lock the semaphore table before using it, only one process at a time can fiddle with the variables and pointers, thus preventing races. Write lock and unlock in assembly language.
What management organization and technology issues : What management, organization, and technology issues were addressed in building Wine.com's Web site?

Reviews

Write a Review

Operating System Questions & Answers

  Solving computer networking problem

Nichol's network technicians says she does not believe the servers are capable of handling Windows Server 2008. Describe what components she will require to add or upgrade, at minimum, to make Nichol's servers capable of running Windows Server 2008.

  Develop a profile of your personality characteristics

Assignment: Finding the Leader in You: Self-Assessment / Johari Window, The Johari Window emphasizes that we may not be aware of everything that there is to know about ourselves

  Why use threads and explain a complication that concurrent

why use threads? and explain a complication that concurrent processing adds to an operating system.provide support for

  Examination of evidence on original media

The "forensically sound" method is to never conduct any examination on original media. There are practical and legal reasons for not performing examination on suspect's computer,

  Determine potential causes of the problem

A user calls to report that she is not able to log on to email. You respond with a couple of quick questions. Because you think that no one else is using the network right now,

  What is gained by increasing the rotation speed of a disk

1. What is gained by increasing the rotation speed of a disk or a CD?

  What resources could you use to develop scripting skills

Write a 200- to 300-word short-answer response to the following: What resources could you use to develop scripting skills

  Question about spam

Discuss your personal experience with Spam and how is spam affecting the Internet as a whole also find the best way to prevent it

  Distinguish licensing requirements-linux-microsoft windows

Distinguish the licensing requirements for Linux versus Microsoft Windows with particular attention paid to GNU-General Public License.

  Explain the role of ram and clock speed

Describe the role of each of the following in determining the speed of a personal computer, RAM, Clock speed, Data on hard disk

  Combining global variables and functions

The parameter list is the normal means to supply values to a function. Global variables are an alternate means for a function to have access to values.

  Explian wired and wireless media

Discuss and explian wired and wireless media along with the drawbacks and benefits of each also Discuss the channel signaling systems used in voice communication along with the drawbacks and benefits of each.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd