Skip to content

Commit

Permalink
Saving unfinished changes [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
fverdugo committed Dec 21, 2023
1 parent 0ca9c3d commit d3f9613
Show file tree
Hide file tree
Showing 3 changed files with 668 additions and 215 deletions.
4 changes: 2 additions & 2 deletions src/debug_array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function exchange_impl!(
::Type{T}) where T
g = ExchangeGraph(graph.snd.items,graph.rcv.items)
@async begin
sleep(0.2) # This is to make more likely to have errors if we don't wait
yield() # This is to make more likely to have errors if we don't wait
exchange_impl!(rcv.items,snd.items,g,T) |> wait
rcv
end
Expand All @@ -175,7 +175,7 @@ function exchange_impl!(
::Type{T}) where T <: AbstractVector
g = ExchangeGraph(graph.snd.items,graph.rcv.items)
@async begin
sleep(0.2) # This is to make more likely to have errors if we don't wait
yield() # This is to make more likely to have errors if we don't wait
exchange_impl!(rcv.items,snd.items,g,T) |> wait
rcv
end
Expand Down
Loading

0 comments on commit d3f9613

Please sign in to comment.