Skip to content

Commit 727850c

Browse files
committed
fixing typo in CPU cas
1 parent 83cff33 commit 727850c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/atomics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ for (name, op) in ops
6464
end
6565

6666
function atomic_cas!(ptr::Ptr{T}, old::T, new::T) where T
67-
Core.Intrinsics.atomic_pointerreplace(ptr, old, new, :release_acquire, :monotonic)
67+
Core.Intrinsics.atomic_pointerreplace(ptr, old, new, :acquire_release, :monotonic)
6868
end
6969

7070
function atomic_xchg!(ptr::Ptr{T}, b::T) where T

0 commit comments

Comments
 (0)