Skip to content

Commit

Permalink
Move mpay field for memory alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Treat committed Jun 28, 2017
1 parent 901a5c7 commit 2a7af1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ func (cf *clientFlag) clear(c clientFlag) {
type client struct {
// Here first because of use of atomics, and memory alignment.
stats
mpay int64
mu sync.Mutex
typ int
cid uint64
lang string
opts clientOpts
start time.Time
nc net.Conn
mpay int64
ncs string
bw *bufio.Writer
srv *Server
Expand Down

0 comments on commit 2a7af1b

Please sign in to comment.