Go Deadlocks Talk

This is sample code for my Go Deadlocks talk.


  • simple – a super simple deadlock
  • simple2 – the same but with an extra Go deadlock detector defeating go routine

File and Directory example

Channel deadlock

Read lock

  • read-lock – demonstrate recursively taking read locks is a bad idea


View Github