Define deadlock prevention.
Deadlock prevention is a set of methods for ensuring that at least one of the four essential conditions like mutual exclusion, hold and wait, no pre-emption and circular wait cannot hold. By make sure that that at least one of these conditions cannot hold, the occurrence of a deadlock can be stop.