Skip to content

Conversation

@licensedslacker
Copy link
Contributor

Encountered an alignment problem while using nutsdb library on 32 bit Linux ARM platform. atomic.Add*, atomic.Store* and atomic.Load* calls require that the caller has set proper 64-bit alignment for the values. By using atomic.Uint32 and atomic.Uint64 types should deal with this issue and the alignment is handled by the type. Test cases passed.

@guonaihong guonaihong merged commit 8d57f32 into antlabs:master Dec 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants