deadlock example.