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
Simpkin Corporation owns manufacturing facilities in States A, B, and C. B uses a three- factor apportionment formula under whic
ivanzaharov [21]

Answer:

Simpkin Corporation

Simpkin's apportionable income assigned to B is:________.

b. $533,333

Explanation:

a) Data and Calculations:

Apportionable operating income = $1,000,000

                   State A            State B           State C         Totals

Sales      $400,000        $800,000      $300,000   $1,500,000

Payroll       100,000           150,000          50,000        300,000

Property   200,000          200,000        200,000       600,000

State B's portion of the operating income = $1,000,000 * $800,000/$1,500

= $533,333

5 0
3 years ago
When you visit the executive assistant to request important changes to a spreadsheet, he is hard at work, e-mailing clients. The
valkas [14]

Answer:

he values your time

Explanation:

In this specific scenario, the executive assistant is expressing nonverbally that he values your time. This is expressed by him stopping what he was doing in order to pay attention to what you have to say to him when you enter the room. Since the work that he is doing (e-mailing clients) is incredibly important, the simple act of him stopping shows that your time is more important to him.

6 0
3 years ago
Jimmy's supervisor noticed that he was falling short on the number of setups he was required to complete for the production depa
-BARSIC- [3]

Answer:

C. Take corrective action.

Explanation:

According to the information given to us in the question, we can say that Jimmy's supervisor is taking corrective action when he gives Jimmy suggestions to improve his efficiency. We can determine this because Jimmy has been lacking in productivity and by giving him pointers on how to improve his productivity Jimmy's manager is taking action towards solving a problem.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

5 0
3 years ago
How can you best uncover challenges and constraints that employees deal with in their daily work.
Westkost [7]

Answer:

Assumptions and expectations are the root causes of workplace constraints.

Explanation:

To avoid workplace conflicts one needs detailed information and clarity. If we train ourselves to think in a positive way and act without anger will do wonders. Our conduct in a situation is going to be really different if we take some time to look at good intentions instead of immediately reacting. It's much more productive to turn a bunch of assumptions into a shared understanding of the information.

8 0
3 years ago
One of the advantages of information systems for businesses is to take raw data and turn it into information, and then transform
solniwko [45]

Answer:

Data

Explanation:

Data can be defined simply as facts or statistics or sample collected for information or analysis or reference purposes. Data can also be said to be individual or singular units of information. In this case, the number of people with income below the poverty line is an example of data or raw data.

I hope this helps.

5 0
3 years ago
Other questions:
  • The economizing problem is essentially one of deciding how to make the best use of a. limited resources to satisfy limited wants
    12·1 answer
  • What is the largest agency of the u.s. dot?
    12·1 answer
  • Which of the following products is likely to have an inelastic supply reaction to a change in price? A. Corn B. Cars C. Shoes D.
    12·2 answers
  • A.8<br>B.15<br>C.26<br>D.52<br><br><br><br>if anyon can help i would be so happy
    9·1 answer
  • Earley Corporation issued perpetual preferred stock with an 8% annual dividend. The stock currently yields 7%, and its par value
    15·1 answer
  • ____ is a set of attitudes, values, and behaviors shared by a group of people?
    9·2 answers
  • Straight Arrow unloaded two tankers worth of toxic waste at an important port in the country of Urithmea. A hundred workers work
    13·1 answer
  • Mauve inc. purchased a global data collection and management system that provides detailed information about each of its custome
    8·1 answer
  • A bond is selling for 95% of par and has an annual coupon rate of 6% and will mature in five years. There are semi-annual coupon
    8·1 answer
  • darden has beginning equity of $286,000, total revenues of $72,000, and total expenses of $34,000. the company has no other tran
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!