Writing mutexes from scratch in Go

Did you know that in programming, threads have been locking in before it was cool?