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
{{ message }}
Repository navigation
Need to switch from ink_atomic.h to Standard lib <atomic> #7398
This is not simply a cosmetic issue. ink_atomic.h effectively assumes there is no need for memory fence instructions on any architecture that TS runs on:
/* not used for Intel Processors which have sequential(esque) consistency */
For x86 architectures for example, this is not true for any version after the 386. It may also be true, for some architectures (or compiler options), that the alignment requirements when doing atomic access are stricter than those for non-atomic access.
This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.
Activity
github-actions commentedon Dec 14, 2022
This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.
ywkaras commentedon Aug 5, 2024
Wrote this PR as a fix, but it was not approved: #7382