multi: 64bit aligment of atomic vars on arm/x86-32
This commit is contained in:
1 parent
d2bcb708f3
commit
3be08e69cf
21 files changed
+67
-60
No files matched your search
@@ -762,7 +762,8 @@ func (s *server) peerBootstrapper(numTargetPeers uint32,
|
||||
|
||||
// We'll use the number of attempts and errors to determine if we need
|
||||
// to increase the time between discovery epochs.
|
||||
var epochErrors, epochAttempts uint32
|
||||
var epochErrors uint32 // To be used atomically.
|
||||
var epochAttempts uint32
|
||||
|
||||
for {
|
||||
select {
|
||||
|
||||
Reference in new issue
Block a user