Explain Deadlock Avoidance In Detail