Skip to content

Commit 4bb3033

Browse files
tkfLilithHafner
authored andcommitted
Use a valid atomic ordering in docstring (JuliaLang#43643)
1 parent ea54d3e commit 4bb3033

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
@@ -600,7 +600,7 @@ Mark `var` or `ex` as being performed atomically, if `ex` is a supported express
600600
601601
@atomic a.b.x = new
602602
@atomic a.b.x += addend
603-
@atomic :acquire_release a.b.x = new
603+
@atomic :release a.b.x = new
604604
@atomic :acquire_release a.b.x += addend
605605
606606
Perform the store operation expressed on the right atomically and return the

0 commit comments

Comments
 (0)