Asked by sandhya

what is the difference between deadlock and stravation

Answers

Answered by MathMate
In simple terms, a deadlock is a situation where two or more (minimum 2) processes are stubbornly holding on to a resource while waiting for another, creating a situation where certain resources are never available, and hence no work gets done for either of the processes.

Starvation is a situation where a single (minimum 1) process is perpetually denied one or more resources so the process cannot progress until the competing processes are completed.
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions