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
Is your enhancement proposal related to a problem? Please describe.
64-bit architectures need 64-bit atomic operations but currently Zephyr's atomics are limited to 32-bit only.
Describe the solution you'd like
We should add support for 64-bit atomics.
Describe alternatives you've considered
Not having 64-bit atomics.. but that's why I'm submitting this enhancement issue.
Additional context
32 additional bits per atomic_t (but only for 64-bit builds).
The text was updated successfully, but these errors were encountered:
With this change, `atomic_t` is 32-bit for 32-bit architectures
and 64-bit for 64-bit architectures. More specifically,
`sizeof(atomic_t) == sizeof(long)`.
Fixeszephyrproject-rtos#39530
Signed-off-by: Christopher Friedt <[email protected]>
With this change, `atomic_t` is 32-bit for 32-bit architectures
and 64-bit for 64-bit architectures. More specifically,
`sizeof(atomic_t) == sizeof(long)`.
Fixes#39530
Signed-off-by: Christopher Friedt <[email protected]>
cfriedt
added a commit
to cfriedt/zephyr
that referenced
this issue
Jul 21, 2022
With this change, `atomic_t` is 32-bit for 32-bit architectures
and 64-bit for 64-bit architectures. More specifically,
`sizeof(atomic_t) == sizeof(long)`.
Fixeszephyrproject-rtos#39530
Signed-off-by: Christopher Friedt <[email protected]>
Is your enhancement proposal related to a problem? Please describe.
64-bit architectures need 64-bit atomic operations but currently Zephyr's atomics are limited to 32-bit only.
Describe the solution you'd like
We should add support for 64-bit atomics.
Describe alternatives you've considered
Not having 64-bit atomics.. but that's why I'm submitting this enhancement issue.
Additional context
32 additional bits per
atomic_t
(but only for 64-bit builds).The text was updated successfully, but these errors were encountered: