One of the functions of an operating system is to prevent deadlock situations. Explain one situation that can cause a deadlock to occur.

      

One of the functions of an operating system is to prevent deadlock situations.
Explain one situation that can cause a deadlock to occur.

  

Answers


william
A deadlock is an undesirable situation or stalemate that occurs when two or more processes are holding
common resources, and each waits for the other to release their resources.
An example of deadlock is where process I has been allocated non-shareable resources A,
e.g., a disk drive, and process 2 has been allocated non-sharable resources B,
e.g., a printer. Now, it it turns out that process
1 needs resources B (printer) to proceed and process 2 needs resource A (the disk drive) to proceed and these are the only two processes in the system, each has blocked the other and all useful work in the system stops.
steve williams answered the question on November 16, 2017 at 01:18


Next: One of the scripting languages used to create web pages is Hypertext Markup Language (HTML). State two limitations of HTML
Previous: Dr. Livondo would like to demonstrate a concept using a computer program on his laptop to members of his village health committee. Give two reasons why...

View More Business Studies Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions