diff --git a/src/internals.jl b/src/internals.jl index 49f3841..a5f6406 100644 --- a/src/internals.jl +++ b/src/internals.jl @@ -1,6 +1,6 @@ module Internals -import StableTasks: @spawn, @spawnat, StableTask, AtomicRef +import StableTasks: @spawn, @spawnat, @fetch, @fetchfrom, StableTask, AtomicRef Base.getindex(r::AtomicRef) = @atomic r.x Base.setindex!(r::AtomicRef{T}, x) where {T} = @atomic r.x = convert(T, x)