Commit 0665b69
committed
Clarify which atomic operations synchronize
The ISO C++ synchronizes-with relationship does not account for scopes.
The scopes do not need to match exactly, but there are restrictions on which
pairs of scopes are valid.
This is the final part of the clarification for work-item scope atomics;
a work-item scope atomic cannot sychronize with the atomic operations
performed by other work-items, and so their effects are not guaranteed to be
visible to other work-items without some other synchronization taking place.1 parent 1141414 commit 0665b69
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1099 | 1099 | | |
1100 | 1100 | | |
1101 | 1101 | | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
1102 | 1108 | | |
1103 | 1109 | | |
1104 | 1110 | | |
| |||
1119 | 1125 | | |
1120 | 1126 | | |
1121 | 1127 | | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1126 | 1131 | | |
1127 | 1132 | | |
1128 | 1133 | | |
| |||
0 commit comments