aboutsummaryrefslogtreecommitdiff
path: root/lib/std/atomic.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-03-15 16:59:05 -0700
committerGitHub <noreply@github.com>2024-03-15 16:59:05 -0700
commitce4245f873c68cfcc431deb303383f25f6d50855 (patch)
treebe29f6d6d6bfa1c8fc7a8f20d61f19215a62554a /lib/std/atomic.zig
parentcb419a1a8692cdbd612c6b63b65ba9a02e23c6c1 (diff)
parentd7cf25f5ca40e5cbcd739911e773769a62c2abe1 (diff)
downloadzig-ce4245f873c68cfcc431deb303383f25f6d50855.tar.gz
zig-ce4245f873c68cfcc431deb303383f25f6d50855.zip
Merge pull request #19312 from mikdusan/bsd-debitrot
bsd: debitrot
Diffstat (limited to 'lib/std/atomic.zig')
-rw-r--r--lib/std/atomic.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/atomic.zig b/lib/std/atomic.zig
index bc8b181715..a485572140 100644
--- a/lib/std/atomic.zig
+++ b/lib/std/atomic.zig
@@ -159,7 +159,7 @@ test Value {
// acquire ensures count decrement and code before
// previous unrefs()s happens-before we call dropFn
// below.
- // Another alternative is to use .AcqRel on the
+ // Another alternative is to use .acq_rel on the
// fetchSub count decrement but it's extra barrier in
// possibly hot path.
rc.count.fence(.acquire);