Deadlock Avoidance Techniques