Go Deadlocks Talk

This is sample code for my Go Deadlocks talk.

Simple

  • 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

GitHub

View Github