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
matthew has written his mission, vision, and value statements. he has completed his organizational assessment. what is his next
Dimas [21]

After completing the organizational assessment, Matthew's next step should be to formulate the functional strategies.

The action plans that a company develops in different areas to achieve its objectives and goals in the short and long term are called functional strategies.

It is the set of strategies of the areas:

  • Commercial
  • Financial
  • Marketing
  • Production
  • Human Resources
  • Distribution
  • Technology

As a company is an integrated system that works to achieve a common goal, which in general is to be profitable and competitive in the market, the functional strategies must be aligned with those at the corporate and organizational level.

Therefore, the formulation of functional strategies is essential for the integration and optimization of organizational resources in order to achieve a company's objectives and goals.

Learn more here:

brainly.com/question/4974396

4 0
2 years ago
Other things the same, if the expected return on U.S. assets increased (e.g. higher interest rate), the a. supply of dollars in
harina [27]

Answer:

b. supply of dollars in the market for foreign-currency exchange shifts left

Explanation:

In the case when the expected return on the US assets should be rise while keeping other things constant so it reduced the dollar supply because the investors in US would begins switching the international investment to the domestic due to this it reduced the supply. This cause to shifting the supply curve to the left

Therefore the option b is correct

8 0
3 years ago
Assume that the market for corn is perfectly competitive. Currently, firms growing corn are generating losses. In the long run,
igomit [66]

Assume that the market for corn is perfectly competitive. Currently, firms growing corn are generating losses. In the long run, we can expect "some firms to exit causing the market price of corn to rise.".

<h3>What is perfectly competitive market?</h3>

According to economic theory, perfect competition exists when all businesses sell the same goods, market share has no bearing on prices, businesses can enter or quit the market without any obstacles, consumers have perfect or complete information, and businesses are unable to set prices.

There are five characteristics that have to exist in order for a market to be considered perfectly competitive. The characteristics are -

  1. homogenous items,
  2. no entry or exit obstacles,
  3. price taker sellers,
  4. transparent products, and
  5. no seller has any control over market prices.

The three key components of perfect competition are as follows:

  • There are a lot of buyers and sellers in the market.
  • These buyers and sellers are in competition with one another.
  • The good being offered or purchased is uniform.
  • Companies are free to enter or leave the market.

To know more about; Why is perfect competition the best form of market structure?, here

brainly.com/question/4190313

#SPJ4

5 0
2 years ago
The Google My Business messaging tool allows customers to reach business owners through what type of communication?
serg [7]

Answer:

Text Messaging

Explanation:

Business messaging tools are widely use for individuals to create communication with the other individuals or organisations

Use of messaging for industry helps everyone to connect in plain text with other individuals, unlike most of the result of internet communications that you have to delay for until the communication is retrieved from the recipient's server.

3 0
3 years ago
Assume that you are a high-level manager for a shoe manufacturer. You know that your firm could increase its profit margin by pr
Vesnalui [34]

Answer:

The issue here is that you need to balance your company's profits and possible negative due to bad press.

On one side (the good and righteous side), if you do not produce shoes in Asia, your long term survival economic is doubtful, but people view your company as a company that does the right thing no matter what. Will it increase sales? Theoretically it should, but in practice it doesn't. Are Nike sales hurt because each shoe is produced in an Asian country that pays $0.25 per day? No, they aren't. The same applies to Reebok, Adidas, Puma, New Balance and every single major shoe manufacturer in the world. Bad press hurt tuna back in the 80's, but some companies are not affected by it.

The alternative (the evil, dark side of the force side) results in your company being able to survive on the long term. It will not necessarily mean that your company will grow and become the world's largest shoe manufacturer, but you will be able to survive and continue to operate.

There is also a trick that you can use to avoid reputational damage and bad press, and that is to establish a foreign subsidiary in Indonesia using a different name. Then your foreign subsidiary sells you the manufactured goods, and the blame fall son the subsidiary. Believe it or not, that simple solution is used by most corporations including clothing manufacturers, electronics, toys, etc.

If you analyze this from an ethical point of view, the alternative is much simpler. Producing in Indonesia (or India, or Burma, or Pakistan, or Vietnam, etc.) and paying a $100 salary will allow a family to live a very decent life and probably even prosper. They will have a much better lifestyle than the rest of their neighborhood. Each Indonesian worker represents one less poor family in Indonesia. On the other hand, American families will probably get hurt, but it is also much easier for an American worker to get another job that pays a normal wage (in US standards) and allows them to live well.

6 0
3 years ago
Other questions:
  • Suppose when the price of a cookie is $2.50, the quantity demanded is 50, and when the price is $1, the quantity demanded is 200
    8·1 answer
  • James Corporation owns 80 percent of Carl Corporation's common stock. During October, Carl sold merchandise to James for $240,00
    5·1 answer
  • The purpose of many business messages is to make a request or to reply to previously received communication. Familiarize yoursel
    14·1 answer
  • An imprest petty cash fund of​ $600 was established for minor disbursements. At the end of the​ month, the fund included petty c
    14·1 answer
  • During the 1920s, competition increased and businesspeople realized they had to do more than just focus on manufacturing, which
    9·1 answer
  • Which statement about wants and needs is TRUE?
    15·1 answer
  • Borrowing a $15,000 Loan in 5 years with an interest rate of 4.49% how much will I pay monthly
    8·2 answers
  • Effects of internal migration to the labour force​
    14·1 answer
  • What are the benefits and advantages of members when joining organizations like UNWTO, PATA, or ASIANTA?
    6·1 answer
  • Responses such as winning, displaying anger, and retaliating are considered _____ responses to conflict.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!