title: What are common reasons for deadlocks?
body: <p>Deadlocks are hard to find and very uncomfortable to remove.</p>
  
  <p>How can I find error sources for deadlocks in my code? Are there any "deadlock patterns"?</p>
  
  <p>In my special case, it deals with databases, but this question is open for every deadlock.</p>