Go Race Detection
The first part of the post is an exploration of the Go -race flag, and it’s connection with Thread Sanitizer. Later chapter shows how the race detector was added to a selected Go project. This post was originally created as a project for a university course. It does not explain the basics of the algorithm, which was already presented and focuses on the real-world implementation. Concurrency in Go The Go programming language has concurrency embedded deep in the language specification itself and tries to treat concurrent code as first-class citizen. It is inherently visible in the following snippet. ...