Are Atomic Operations Faster and Better Than a Mutex? It Depends
From the author:
"Recently, while reviewing a pull request, a discussion arose about using sync/atomic versus sync.RWMutex.
It’s a question that comes up often when writing concurrent Go code, so I thought it would make a great post"
https://madflojo.dev/posts/are-atomic-operations-faster-than-a-mutex/
Post #164
25.6K

- ❤ 73
- 👍 37
- 🤔 31
- 👏 29
- 🔥 26
- 💩 24
- 🤯 14
- 👎 9