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
wrong description of release and acquire memory order behaviour
File path: book/en-us/07-thread.md
Original text:
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 backward barrier, andstd::memory_order_acquire ensures that its previous write behavior does not occur after this acquisition operation, there is a forward barrier.
Expected
As you can see, std::memory_order_release ensures that the load/store before it does not occur after the release operation, which is a forward barrier, and std::memory_order_acquire ensures that load/store after it does not occur before this acquisition operation, that is a backward barrier.
Uh oh!
There was an error while loading. Please reload this page.
Actual Description
wrong description of release and acquire memory order behaviour
Expected
实际描述
release, acquire memory order的行为描述反了
预期描述
The text was updated successfully, but these errors were encountered: