From 8c78537c4f9f8d9e5aa8ca42243d014580a1bd74 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Tue, 6 Jun 2023 19:34:53 -0400 Subject: [PATCH] add default order for atomics to docstring (#50086) (cherry picked from commit e111c01d0483ac12885e3e1ea2132aa98edfb623) --- base/expr.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/base/expr.jl b/base/expr.jl index 26203c210adea..c5ca69f00f1b2 100644 --- a/base/expr.jl +++ b/base/expr.jl @@ -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