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
Reiko started a business selling home medical supplies. She spent $5200 to obtain her merchandise, and it costs her $550 per wee
ratelena [41]

Answer:

it will take around 15 weeks to for Reiko to make a profit

Explanation:

Given:

Amount spent to obtain merchandise = $5,200

Cost of general expenses = $550

Earnings from sales per week = $900

Now,

Let 'x' be the number of weeks taken to make profit

thus,

Total cost involved = $5,200 + ( $550 × x )

Total profit from sales = $900 × x

for making profit

$900 × x ≥ $5,200 + ( $550 × x )

or

350x ≥ 5,200

or

x ≥ 14.85 weeks

thus,

it will take around 15 weeks to for Reiko to make a profit

7 0
3 years ago
Sally has a credit card balance of ​$500 . The credit card company charges a nominal interest rate of 16 percent a year on unpai
Nata [24]

Answer:

10.48%

Explanation:

Real interest rate = (1 + nominal interest rate) / (1 + inflation rate) - 1

1.16/1.05 - 1 = 10.48

Nominal interest rate is real interest rate plus inflation rate

Real interest rate is interest rate that has been adjusted for inflation

5 0
3 years ago
"Harold and Maude are married and live in a common-law state. Neither has made any taxable gifts and Maude owns (holds title to)
jeyben [28]

Answer:

$5528000

Explanation:

Solution

Given that:

Now,

The 2018 estate tax exemption 11180000$ above that the estate inherited are taxed at 40%.

So,

25000000-11180000 = taxable estate 13820000$

The estate tax due= 13820000*40%

= 5528000$

Note: This is reference from Exhibit 25-1 and Exhibit 25-2.

8 0
3 years ago
Nokia is a cell phone brand that offers digital cameras as part of its cell phone products. It is now in direct competition with
Arisa [49]

Answer:

D

Explanation:

3 0
4 years ago
Assume that you are on the financial staff of Vanderheiden Inc., and you have collected the following data: The yield on the com
spin [16.1K]

Answer: 7.48%

Explanation:

Weighted Average Cost of capital is simply the weighted average of the costs of equity and debt.

Cost of Equity

= \frac{Next dividend}{Stock Price ( 1 - flotation Costs)} + growth rate

= \frac{0.65}{19(1 -0.1)} + 0.06

= 9.80%

Cost of debt

= Interest ( 1 - Tax)

= 0.075 (1 - 0.40)

= 4.65%

WACC = 9.80% * 0.55 + 4.65% * 0.45

= 7.48%

6 0
3 years ago
Other questions:
  • A CDS with a notional principal of $100 million the reference entity defaults.What is the payoff to the buyer of protection when
    10·1 answer
  • Please select the word from the list that best fits the definition Learning several multiplication facts A.repetition B.acronyms
    15·2 answers
  • A copy machine cost $ 36 comma 000$36,000 when new and has accumulated depreciation of $ 34 comma 000$34,000. Suppose Sun Graphi
    8·1 answer
  • If labor becomes more productive, the production possibilities frontier will:__________
    7·1 answer
  • Manual dexterity is usually less well developed in
    6·1 answer
  • Cameron Manufacturing Co.'s static budget at 5,000 units of production includes $40,000 for direct labor and $5,000 for variable
    5·1 answer
  • Suppose the demand for a price maker’s product is estimated to be Qd = 100 – 2P and its total cost function is C(Q) = 10Q. Under
    5·1 answer
  • Suppose a commercial bank has checkable deposits of $80,000 and the legal reserve ratio is 20 percent. If the bank's required an
    11·1 answer
  • What is commercial bank? in your own words. ​
    11·1 answer
  • Which of the following statements about the W-2 form is TRUE? A. The W-2 includes information about the interest you earned from
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!