Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SwapInt64 to snapshot counters (segmentio#441)
Using LoadInt64 and then AddInt64 can lead to incoherent results if snapshot() is called twice at the same time.
- Loading branch information