Skip to content

Commit

Permalink
code quote the atomic orderings in the manual (JuliaLang#41902)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Aug 17, 2021
1 parent 337cf38 commit b7f7708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/src/manual/multi-threading.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ which will later be published formally.

Any field in a struct declaration can be decorated with `@atomic`, and then any
write must be marked with `@atomic` also, and must use one of the defined atomic
orderings (:monotonic, :acquire, :release, :acquire\_release, or
:sequentially\_consistent). Any read of an atomic field can also be annotated
orderings (`:monotonic`, `:acquire`, `:release`, `:acquire_release`, or
`:sequentially_consistent`). Any read of an atomic field can also be annotated
with an atomic ordering constraint, or will be done with monotonic (relaxed)
ordering if unspecified.

Expand Down

0 comments on commit b7f7708

Please sign in to comment.