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 necessary conditions for deadlock to occur?
What happens if we don’t override a run method?
What are the various capacities in which a ram is available?
What replaced ifconfig?
What are numerous ways in which a thread can enter the waiting state?
What is a long term scheduler & short term schedulers?
What is Page-Stealer process?
Is 32 gigs of ram overkill?
How does ecc works?
Differentiate internal commands from external commands.
How do you check if your computer is 32 or 64 bit?
What's the difference between 32 and 64 bit?
Explain the resident set and working set of a process?
How many gb is an operating system?
Explain what is the memory wall problem?