What is deadlock? List the necessary conditions for a deadlock to occur.
Answers
Answered by
1
If a process is unable to change its state indefinitely because the resources requested by it are being used by another waiting process, then the system is said to be in a deadlock. In a communications system, deadlocks occur mainly due to lost or corrupt signals rather than resource contention.
Answered by
2
A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting in both programs ceasing to function.
Similar questions