Skip to content

Commit 756326d

Browse files
author
oscarddssmith
committed
update docs to refrence intrinsics until there is an actual stable interface
1 parent 3aca5c0 commit 756326d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

base/genericmemory.jl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,14 @@ Memory
3737
"""
3838
AtomicMemory{T} == GenericMemory{:atomic, T, Core.CPU}
3939
40-
One-dimensional, fixed-size, dense array with elements of type `T`, where each element is
41-
independently atomic when accessed, and cannot be set non-atomically.
40+
!!! warning
41+
One-dimensional, fixed-size, dense array with elements of type `T`, where each element is
42+
independently atomic when accessed, and cannot be set non-atomically.
43+
Currently the `@atomic` macro and higher level interface have not been completed,
44+
but the implimentations for future implimentation is in the internal intrinsics
45+
`Core.memoryrefget`, `Core.memoryrefset!`, `Core.memoryref_isassigned`, `Core.memoryrefswap!`,
46+
`Core.memoryrefmodify!`, and `Core.memoryrefreplace!`.
47+
4248
For details, see [Atomic Operations](@ref man-atomic-operations)
4349
4450
!!! compat "Julia 1.11"

0 commit comments

Comments
 (0)