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


Please Help Members By Posting Answers For Below Questions

What are the types of files?

528


What is the purpose of using the yield method of thread class?

564


Define the basic logical structure of a computer.

539


Can I install 64 bit on x86?

495


What is the function of the control lines in ram?

526






Explain busy waiting in operating system (os)?

567


Tell me what is executive in windows nt?

586


What is the difference between logical address space and physical address space?

549


How do I dual boot my pc?

519


Who does the memory management in operating system?

538


How do I find my hidden files?

557


What are the five types of operating system?

565


What are placement and replacement algorithms in the context of memory management?

642


How can a ddr1 ram be identified from a ddr2 ram module physically?

538


Explain the trda?

571