Skip to content

Commit

Permalink
Update internals.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenbauer authored Feb 20, 2024
1 parent a4591d8 commit 1e22260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internals.jl
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 1e22260

Please sign in to comment.