Explain The Methods For Deadlock Prevention