Commit 4f1d50e
authored
Rollup merge of #64349 - arnohaase:pr_documentation_atomicptr, r=cramertj
documentation for AtomicPtr CAS operations
The examples in the documentation for AtomicPtr CAS operations only show code that does *not* perform the CAS operation. I suggest to change them so that they actually do exchange the AtomicPtr's value.1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
983 | 982 | | |
984 | | - | |
| 983 | + | |
985 | 984 | | |
986 | 985 | | |
987 | 986 | | |
| |||
1021 | 1020 | | |
1022 | 1021 | | |
1023 | 1022 | | |
1024 | | - | |
1025 | 1023 | | |
1026 | | - | |
| 1024 | + | |
1027 | 1025 | | |
1028 | 1026 | | |
1029 | 1027 | | |
| |||
0 commit comments