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

How the Kernel handles both the page stealer and the fault handler?

628


What are the necessary conditions for deadlock to occur?

571


What are types of file?

538


Explain the positioning time for a disk.

586


What are the deadlock avoidance schemes?

682






How do I do a system restore?

537


What are the advantage of using threads?

595


How can I run 32 bit on 64 bit?

536


Explain what is meant by CORE DUMPS?

605


What is the cause of thrashing? How does the system detect thrashing?

587


Explain what you mean by memory alignment.

580


why is the context switch overhead of a user-level threading as compared to the overhead for processes? Explain.

592


Can you tell me the difference between semaphore and mutex.

628


Describe the Operating System concept of Segmentation

630


What are the different ways in which data can be represented?

569