Question

Is there a way to implement semaphores that allow blocking without underlying operating system support? Why...

Is there a way to implement semaphores that allow blocking without underlying operating system support? Why or why not?

Homework Answers

Answer #1

No, there is no way to implement semaphores that allow blocking without underlying operating system support. This is beacuse the semaphore values are kept in a table stored in kernel memory. A semaphore is identified by a number corresponding to a position
in this table.
There are system calls for creating or freeing semaphores, as well
as for executing the wait and signal operations. These operations
are executed in supervisor mode and hence atomically. (interrupts
are disabled in supervisor mode).

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Should the government allow embryonic stem cell research? Why or why not? Support your answer with...
Should the government allow embryonic stem cell research? Why or why not? Support your answer with the current literature. ( answer should be in paragraph form)
Why did Intel initially take the decision to implement its multimedia extensions without modifying the processor’s...
Why did Intel initially take the decision to implement its multimedia extensions without modifying the processor’s state architecture?
Why would a company implement a job-costing system versus attempting to fulfill those needs with a...
Why would a company implement a job-costing system versus attempting to fulfill those needs with a simple spreadsheet?
Talk in length about the ethical issue in the health care system, life support. Why are...
Talk in length about the ethical issue in the health care system, life support. Why are people for it and others are against it. What are the opposing sides of the argument, the pros and cons. Talk about the religious side to why people are against it. Which side do you stand on and why?
1. Should content providers and advertisers panic because of ad blocking technology, or will consumers figure...
1. Should content providers and advertisers panic because of ad blocking technology, or will consumers figure out that the internet will collapse without advertising revenue? With the rise of Adblockers becoming more significant in everyday use content providers are understandably going to become panicked. From the webpage ‘Native Advertising Institute they explain just how much the use of Adblockers has increased. “eMarketer predicts 1 of every 3 Internet users will use ad blockers by 2017, more than twice the 15%...
Which of the following is the best explanation for why rod-based vision does not support the...
Which of the following is the best explanation for why rod-based vision does not support the perception of different hues (or colours)? A. Dark Current: Rods only generate action potentials in the dark, so really code the absence of light. This makes colour vision impossible using these photoreceptors. B. The Principle of Univariance: Variations in both the wavelength and intensity of light result in variation of response in the rod-based system. Because the response from ganglion cells is univariate, both...
What characteristics of the market of systems do you think created monopoly market that Microsoft’s operating system enjoyed?
Read the following case study carefully and answer the questions given at the END.Playing Monopoly: MicrosoftThe success of Bill Gates together with his company Microsoft and the most favors Windows computer operating systems that are still dominating the PC operating system market has always been an excellent example stimulating the youths in the It industry to follow. But the business success and seemingly amazing technology innovation should not be very strong reasons why the ethical issues related to Microsoft and...
Return on Investment, Margin, Turnover Ready Electronics is facing stiff competition from imported goods. Its operating...
Return on Investment, Margin, Turnover Ready Electronics is facing stiff competition from imported goods. Its operating income margin has been declining steadily for the past several years. The company has been forced to lower prices so that it can maintain its market share. The operating results for the past 3 years are as follows: Year 1 Year 2 Year 3 Sales $12,000,000 $ 9,500,000 $ 9,000,000 Operating income 1,200,000 1,345,000 945,000 Average assets 15,000,000 15,000,000 16,750,000 For the coming year,...
Respiratory System 1. A dust particle is inhaled and gets into an alveolus without being trapped...
Respiratory System 1. A dust particle is inhaled and gets into an alveolus without being trapped along the way. Describe the path it takes, naming all air passages from the external nares to the alveolus. What would happen to it after arrival in    the alveolus? 2. Contrast the epithelium of the bronchi with that of the alveoli and explain how the structural difference is related their functional difference. 3. List the two anatomical divisions of the respiratory system. 4....
The assumption that a system will operate in a stable environment without risk is not realistic...
The assumption that a system will operate in a stable environment without risk is not realistic (Sales et al., 2018). Risk is widely classified into disruption and operational risks (Kleindorfer & Saad, 2005; Tang, 2006). Extreme uncertainty and the absence of synchronization between supply and demand are linked to operational risks while circumstances such as labor strikes, terrorist attacks, and natural calamities are related to disruption risks (Lockamy & McCormack, 2010). The probability of human injury or even death is...