Skip to content

Commit

Permalink
add default order for atomics to docstring (#50086)
Browse files Browse the repository at this point in the history
(cherry picked from commit e111c01)
  • Loading branch information
vchuravy authored and KristofferC committed Jun 26, 2023
1 parent f12d9cd commit 8c78537
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/expr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ end
@atomic order ex
Mark `var` or `ex` as being performed atomically, if `ex` is a supported expression.
If no `order` is specified it defaults to :sequentially_consistent.
@atomic a.b.x = new
@atomic a.b.x += addend
Expand Down

0 comments on commit 8c78537

Please sign in to comment.