Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly update atomics in IoDriverMetrics
Updating an atomic variable with a load followed by a store is racy. It defeats the entire purpose of using atomic variables, and can result in "lost" updates. Instead, use fetch_add .
- Loading branch information