What is Concurrency? Expain with example Deadlock and
Starvation?

Answer Posted / @pravin.08

hi!
concurrency is the property of systems in which several
processes running simultaneously,interacting with each other.

Deadlock:In multiprogramming environment,several processes
may compete for limited no. of resources,a process request
resources n if resources are not available at moment ,process
enters a waiting state.sometimes ,a waiting process never
able to change it's state,becoz the resources it has
requeseted are held by other process.such type situation is
called DEADLOCK.

Starvation:a situation in which a process wait indefinetly.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can bad sectors cause blue screen?

549


What is sudo user?

581


What are the different ram standards/versions?

537


What is the difference between af_inet and pf_inet?

529


Can I have two operating systems on one computer?

537






Is it safe to delete program data?

539


How can the speed of interrupt driven input output systems be improved?

557


Does direct memory manipulation is an unsafe operations, if yes, how?

562


How do I know chkdsk is finished?

527


What is starvation in operating system?

624


Explain booting the system and bootstrap program in operating system.

509


What is tras timing?

569


What is the cause of thrashing? How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?

905


Explain the concept of the multi-processor systems or parallel systems?

548


What is an immutable object? How can it help in writing a concurrent application?

547