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 is a monitor?

821


What is a 32 bit integer?

684


What are the different types of fragmentation?

752


What is the difference between chkdsk r and f?

599


Is atomic thread safe?

645






What is plumbing/piping?

671


What is the multi-treade and models (explain each models)?

2723


Explain the concept of the timesharing operating systems?

679


How do I know if I have a 64 bit processor?

635


Can chkdsk damage a hard drive?

749


Explain briefly about linker and its functioning?

658


What is shadow ram?

697


What are operating system services?

718


What resources are used when a thread created? How do they differ from those when a process is created?

628


Which is better chkdsk r or f?

609