You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing 64-bit alignment in structs that use sync.atomic
This change fixes segmentation faults on Arm v7.
From https://golang.org/pkg/sync/atomic/:
> On both ARM and x86-32, it is the caller's responsibility to arrange
for 64-bit alignment of 64-bit words accessed atomically. The first word
in a variable or in an allocated struct, array, or slice can be relied
upon to be 64-bit aligned.
Had to modify a couple of tests to get them to pass.
Fixes#311.
0 commit comments