Methods For Handling Deadlock In Os