News for hackers. Stuff that matters.
Re:Singleton Pattern in Go by millstone on Sunday July 12, 2015 @03:47PM (#9874664)
Here's the mutex source: https://golang.org/src/sync/mutex.go . The fast path is just a CAS, which of course is going to be fast. But it's also important to know how it performs under contention.

There are no comments on this comment yet.