Deadlock and Starvation in Operating System

in #operatingsystem2 years ago

Dead Lock - Dead lock is a situation when the system did not perform any operation.

deadlock.png

When two process and only one of them are waiting process then this process is said to be a waiting Deadlock process.

Starvation-When the semaphore is applied in the waiting queue ,may result the situation of starvation.