What is Concurrency? Expain with example Deadlock and
Starvation?
Answer Posted / preeti
Deadlock:
Two processes are said to be in deadlock situation if
process A holding onto resources required for process B and
where as B holding onto the resources required for process
A.
Starvation:
This is mostly happens in time sharing systems in which the
process which requires less time slot is waiting for the
large process to finish and to release the resources, but
the large process holding the resources for long time
(almost for forever) and the process that requires small
time slot goes on waiting. Such situation is starvation for
small process
| Is This Answer Correct ? | 41 Yes | 6 No |
Post New Answer View All Answers
What are the three main purposes of an operating system?
Can you please explain the difference between load-time dynamic linking and run-time dynamic linking?
What are necessary conditions which can lead to a deadlock situation in a system?
What is the difference between ram and cache memory?
Does a clean install erase everything?
Briefly explain the concept of Virtual Memory.
What do you mean by a zombie process?
Why is 64 bit called x86?
What is the use of paging in operating system?
What replaced ifconfig?
What is eide?
What is a bootloader?
What is starvation and aging?
Describe the objective of multiprogramming.
Which are the necessary conditions to achieve a deadlock?