Why using Ordering::SeqCst instead of Ordering::Release here? #551
devprofile98
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi community, I don't understand why developers used
Ordering::SeqCst
on this line, as stated by the comment line above it, the goal is toEnsure no preceding memory accesses are reordered to after interrupts are enabled
, isn'tOrdering::Release
enough for this purpose?Beta Was this translation helpful? Give feedback.
All reactions