Deadlock And Necessary Condition For Deadlock