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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi community, I don't understand why developers used
Ordering::SeqCston 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::Releaseenough for this purpose?Beta Was this translation helpful? Give feedback.
All reactions