-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync/atomic: AddUint64 panic on windows/386 #5278
Labels
Comments
The caller of 64-bit atomic operation must make sure the pointer address is aligned to 8-byte boundary. http://play.golang.org/p/fRMRT2Jzsh Quote BUGS section of docs for sync/atomic: BUGS On x86-32, the 64-bit functions use instructions unavailable before the Pentium MMX. 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 global variable or in an allocated struct or slice can be relied upon to be 64-bit aligned. Status changed to WorkingAsIntended. |
Issue #6674 has been merged into this issue. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: