Move HighWaterMark to the top of the struct in order to fix arm, second time

This commit is contained in:
Lucas Käldström
2016-09-23 20:58:28 +03:00
parent 46197a5d13
commit 06917531b3
3 changed files with 14 additions and 6 deletions

View File

@@ -219,6 +219,8 @@ type Expectations interface {
// ControlleeExpectations track controllee creates/deletes.
type ControlleeExpectations struct {
// Important: Since these two int64 fields are using sync/atomic, they have to be at the top of the struct due to a bug on 32-bit platforms
// See: https://golang.org/pkg/sync/atomic/ for more information
add int64
del int64
key string