Mutex in Golang
Mutexes are an important topic in concurrency. They appear in almost every programming language when they talk about concurrency. In this post, we are going to look at what problems mutexes solve and how. The race condition The race condition appears when multiple goroutines try to access and update the shared data. They instead fail […]