A banker with only $100,000 loans $50,000 to each of two customers. Later, both customers return with the story that before they can repay their loans they must each borrow another $10,000 to complete the business deals in which their previous loans are involved. The banker resolves this deadlock by borrowing the additional funds from another source and passing on this loan (with an increase in the interest rate) to one of the two customers. Which of the three conditions for deadlock has the banker removed?
This doesn't sound like a Computer Science question.
CS160 Introduction to Computer Science :(
o.O Well. That's a lame question for a CS class. heh.
Ahh, wait, I get the analogy now.
Ok, so do you know the conditions for deadlock?
When two processes require the use of the same item??
And there are like three conditions... 1. Mutual exclusion 2. Hold-and-wait 3. No preemption:
Right. So, from what I can tell one of these has been removed from the equation by the bankers actions. It might help to consider the Banker as the Operating System and the borrowers as Processes on the system. Then I think you'll be able to apply the definitions in your textbook.
UGH...I am never taking an online class again :(
Hold and wait
Haha. Yeah. This is an Operating Systems question. Not a fun one to have in an online class. Unfortunately, I have to go to bed. BUT one of those three conditions is definitely removed by what the Banker did.
Why did you say Hold-and-wait?
Never-mind. Bed sounds like a good idea :) Thanks for the help
Join our real-time social learning platform and learn together with your friends!