1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ludmilka [50]
3 years ago
5

The four conditions (mutual exclusion, hold and wait, no preemption and circular wait) are necessary for a resource deadlock to

occur. Give an example to show that these conditions are not sufficient for a resource deadlock to occur. When are these conditions sufficient for a resource deadlock to occur
Business
1 answer:
Evgen [1.6K]3 years ago
5 0

Explanation:

The conditions sufficient for a resource deadlock to occur is when a  deadlock will  prevail for process A, B, and C when two resources R and S; if only one instance of each resources is allowed.

Solution

Deadlock conditions

A deadlock is a situation where two or more processes request for same critical resource at the same time.

The mutual exclusion applies a restriction to a resource when the resource is used by any process, it should become unavailable for the other resources

The hold and wait allocations explains that any process which is allocate resources must hold them; till all needed resources are nor sure.

In the meantime, if any other processes need a resource which is held by another process, then the latter will release the resource to prevent deadlock.

No pre-emption states that the operating system can grant access to resources to another process while it is in use by another process; depending on the priority , to prevent deadlock.

Circular wait should not be implemented so that resources being requested by process are allocated when they get free.

Now,

Three processes A, B, and C functions on a system, having two distinct resources R and S.

The resource  R has one instant active while resource S has two instances available.

The instance of R is allocated to a process A after request. first instance of resource S is allocated to process B, and second instance of resource S is allocated to process C.

When a request is placed by process B for resource R, then the resource is not available for execution. the process A request for resource S which is used by both C and B.

All the four conditions prevail in this situation; yet deadlock does not occur.

The resource S is released by process C and is allocated to process A. when process A finishes, it releases resources and resources R is allocate d to process B.

Hence all three processes end without a deadlock.

However, the deadlock will prevail for process A, B, and C when two resources R and S; if only one instance of each resources is allowed.

You might be interested in
River rock, inc. just paid an annual dividend of $2.80. the company has increased its dividend by 2.5 percent a year for the pas
ohaa [14]
The answer to this should be 24.65.
I could be wrong but I think you are suppose to add.

Hope this helped :)
Have a great day
8 0
3 years ago
Which of the following describes an inferior​ good? A. When consumer income​ increases, the demand for tea increases. B. When co
MakcuM [25]

Answer:

C. When consumer income​ increases, the demand for eggs decreases.

Explanation:

Inferior goods is the type of good which demand does not increase even though the initial buyer experience an increase in purchasing power.

The reason for this is because that consumer choose to<u> purchase another product that he/she couldn't afford</u> before having an increase in income.

This 'other' product tend to be more expensive and higher in quality compared to the previous one. This is why the word 'inferior' is attached to the previous product.

From the example above, the reason why the demand for the eggs does not increase is most likely happen because the consumer choose to purchase higher quality of food. (such as a more expensive meat)

6 0
3 years ago
Read 2 more answers
Anderson Compounds produces two industrial chemical compounds, Gorp and Gumm, from the same process, which last year, cost $480,
Olin [163]

Answer:

b. 320000

Explanation:

In order to calculate the joint cost of Gorp we need to understand what the method means and how it's used to calculate it. The adjusted sales method is used to allocate joint costs based on the prices the products are sold.

First of all we need to calculate the percentage of Selling price of Gorp to that of the total selling price of both Gorp and Gumm.

I.e: 60 ÷ (60+30) × 100

SP % of Gorp= 66.67%

Now we calculate joint cost allocated to Gorp.

Total joint cost of both Gorp and Gumm = $480000

Joint cost of Gorp = $480000 × 66.67%

Joint cost of Gorp = $320,000

3 0
3 years ago
Monumental, Inc. contracts with Champion Builders to erect a three-story office building on a parcel of land it has purchased. B
Elza [17]

Answer:

A) True

Explanation:

Monumental can discharge the contract by frustration. In order for a contract to be discharged by frustration, four conditions have to occur:

  1. An unforeseeable event must occur: In this case the zoning changes were unforeseeable.
  2. No party is at fault: the zoning board made the changes to the zoning of the land.
  3. Performance is impossible: there is no reason why an office building should be built in a residential only area.
  4. The result is radically different than expected: neither Monumental or Champion Builders expected a zoning change to occur.
7 0
3 years ago
A licensed real estate broker who shall by choice elect to work under the name and supervision of another individual broker or a
Minchanka [31]

Answer:

Associate Real Estate Broker

Explanation:

7 0
2 years ago
Other questions:
  • A local finance company quotes an interest rate of 17.1 percent on one-year loans. So, if you borrow $20,000, the interest for t
    15·1 answer
  • The management of Blue Ocean Company estimates that 50,000 machine-hours will be required to support the production planned for
    11·1 answer
  • _____ is the personality of the brand through messaging.
    7·1 answer
  • You got a new credit card and spent $200 on the card last month. You forgot to make the payment on time and were assessed a $40
    9·2 answers
  • Legal forms are most like _____.
    11·1 answer
  • When Jerry started his small appliance manufacturing company in the 1950s, every component part was made in the USA and the prod
    9·2 answers
  • The Thomlin Company forecasts that total overhead for the current year will be $11,420,000 with 157,000 total machine hours. Yea
    7·1 answer
  • What do liquidity ratios measure? Select one:
    7·1 answer
  • Cerrone Inc. has provided the following data for the month of July. The balance in the Finished Goods inventory account at the b
    10·1 answer
  • Walmart and Nordstrom maintain very different strategic profiles, one based on cost-leadership and the other based on differenti
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!