We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acaf407 commit 647d4f3Copy full SHA for 647d4f3
src/atomics.jl
@@ -51,7 +51,7 @@ end
51
52
# TODO: Not sure what this one is...
53
function atomic_cas!(ptr::Ptr{T}, old::T, new::T) where T
54
- Core.Intrinsics.atomic_pointerswap(ptr::Ptr{T}, x::T, :monotonic)
+ Core.Intrinsics.atomic_pointerreplace(ptr::Ptr{T}, old, new, :release_acquire, :monotonic)
55
end
56
57
0 commit comments