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
As you can see, std::memory_order_release ensures that the write behavior after it does not occur before the release operation, which is a forward barrier, and std::memory_order_acquire ensures that its previous write behavior does not occur after this acquisition operation, there is a backward barrier.
Expected Description
according to cppreference, I think this description is the other way around, which should be:
As you can see, std::memory_order_release ensures that the write behavior before it does not occur after the release operation, which is a backward barrier, and std::memory_order_acquire ensures that its subsequentread/write behavior does not occur before this acquisition operation, which is a forward barrier.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Actual Description
07-thread.md
As you can see,
std::memory_order_release
ensures that the write behavior after it does not occur before the release operation, which is a forward barrier, andstd::memory_order_acquire
ensures that its previous write behavior does not occur after this acquisition operation, there is a backward barrier.Expected Description
according to cppreference, I think this description is the other way around, which should be:
As you can see,
std::memory_order_release
ensures that the write behavior before it does not occur after the release operation, which is a backward barrier, andstd::memory_order_acquire
ensures that its subsequent read/write behavior does not occur before this acquisition operation, which is a forward barrier.The text was updated successfully, but these errors were encountered: