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
@@ -51,8 +51,8 @@ var (
|
||||
// and the current block height. DecayedLog wraps boltdb for simplicity and
|
||||
// batches writes to the database to decrease write contention.
|
||||
type DecayedLog struct {
|
||||
started int32
|
||||
stopped int32
|
||||
started int32 // To be used atomically.
|
||||
stopped int32 // To be used atomically.
|
||||
|
||||
dbPath string
|
||||
|
||||
|
||||
Reference in new issue
Block a user