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
Can bad sectors cause blue screen?
What is sudo user?
What are the different ram standards/versions?
What is the difference between af_inet and pf_inet?
Can I have two operating systems on one computer?
Is it safe to delete program data?
How can the speed of interrupt driven input output systems be improved?
Does direct memory manipulation is an unsafe operations, if yes, how?
How do I know chkdsk is finished?
What is starvation in operating system?
Explain booting the system and bootstrap program in operating system.
What is tras timing?
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?
Explain the concept of the multi-processor systems or parallel systems?
What is an immutable object? How can it help in writing a concurrent application?