From 1e222606296e712fe7d56d66fe29662c8b774ff4 Mon Sep 17 00:00:00 2001 From: Carsten Bauer Date: Tue, 20 Feb 2024 23:51:32 +0100 Subject: [PATCH] Update internals.jl --- src/internals.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)