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.
what is the difference between deadlock and stravation
1 answer