File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -199,9 +199,10 @@ reordered to occur before it.
199199
200200When thread A releases a location in memory and then thread B subsequently
201201acquires * the same* location in memory, causality is established. Every write
202- that happened before A's release will be observed by B after its acquisition.
203- However no causality is established with any other threads. Similarly, no
204- causality is established if A and B access * different* locations in memory.
202+ (including non-atomic and relaxed atomic writes) that happened before A's
203+ release will be observed by B after its acquisition. However no causality is
204+ established with any other threads. Similarly, no causality is established
205+ if A and B access * different* locations in memory.
205206
206207Basic use of release-acquire is therefore simple: you acquire a location of
207208memory to begin the critical section, and then release that location to end it.
You can’t perform that action at this time.
0 commit comments