Merge pull request #78 from tgregory/align-fix

Sever structure align fix for atomic operations.
This commit is contained in:
Ken Robertson
2015-03-16 14:45:47 -07:00

View File

@@ -34,11 +34,13 @@ type Info struct {
// Server is our main struct.
type Server struct {
gcid uint64
grid uint64
stats
mu sync.Mutex
info Info
infoJSON []byte
sl *sublist.Sublist
gcid uint64
opts *Options
auth Auth
trace bool
@@ -51,10 +53,8 @@ type Server struct {
done chan bool
start time.Time
http net.Listener
stats
routeListener net.Listener
grid uint64
routeInfo Info
routeInfoJSON []byte
rcQuit chan bool