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
How the Kernel handles both the page stealer and the fault handler?
What are the necessary conditions for deadlock to occur?
What are types of file?
Explain the positioning time for a disk.
What are the deadlock avoidance schemes?
How do I do a system restore?
What are the advantage of using threads?
How can I run 32 bit on 64 bit?
Explain what is meant by CORE DUMPS?
What is the cause of thrashing? How does the system detect thrashing?
Explain what you mean by memory alignment.
why is the context switch overhead of a user-level threading as compared to the overhead for processes? Explain.
Can you tell me the difference between semaphore and mutex.
Describe the Operating System concept of Segmentation
What are the different ways in which data can be represented?