You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And the operation does not terminate (note that I run the same operation three times). Most likely we have some race condition in handling of multi-threading that got exposed on Julia nightly.
For the issue to show up we need to pass two operations to combine. If one is passed things work OK.
The text was updated successfully, but these errors were encountered:
OK - I have narrowed it down. The issue is with sleep:
julia> @sync begin
Threads.@spawn sleep(0.01)
end
Task (done) @0x000001e7a9a71750
julia> @sync begin
Threads.@spawn sleep(0.01)
end
Task (done) @0x000001e7fa5c45e0
julia> @sync begin
Threads.@spawn sleep(0.01)
end # hangs
Reproducer:
And the operation does not terminate (note that I run the same operation three times). Most likely we have some race condition in handling of multi-threading that got exposed on Julia nightly.
For the issue to show up we need to pass two operations to
combine
. If one is passed things work OK.The text was updated successfully, but these errors were encountered: