Skip to content

Commit 85fc5c9

Browse files
tkfKristofferC
authored andcommitted
Use a valid atomic ordering in docstring (#43643)
(cherry picked from commit 26b5736)
1 parent 04d16b2 commit 85fc5c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/expr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ Mark `var` or `ex` as being performed atomically, if `ex` is a supported express
464464
465465
@atomic a.b.x = new
466466
@atomic a.b.x += addend
467-
@atomic :acquire_release a.b.x = new
467+
@atomic :release a.b.x = new
468468
@atomic :acquire_release a.b.x += addend
469469
470470
Perform the store operation expressed on the right atomically and return the

0 commit comments

Comments
 (0)