Deadlock can happen when two processes are waiting for resources held by each other. Here can the two processes know that they are waiting for each other to release resources?

  • 1
    $\begingroup$ This is a basic question with a lot of answers/explanations available. The key phrase is "deadlock detection". Have you searched the internet and/or your course material? It does not sound very meaningful for users here to duplicate the existing answers. You can update your question if you still have doubts after reading them. $\endgroup$ – John L. Jan 6 at 15:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.