Skip to content

Commit

Permalink
fixup to pull request #38405 (#41641)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Jul 19, 2021
1 parent 586acfb commit 5af1cf0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stdlib/Distributed/src/cluster.jl
Original file line number Diff line number Diff line change
Expand Up @@ -690,10 +690,10 @@ function create_worker(manager, wconfig)
end

for wl in wlist
if wl.state === W_CREATED
# wait for wl to join
lock(wl.c_state) do
wait(wl.c_state)
lock(wl.c_state) do
if wl.state === W_CREATED
# wait for wl to join
wait(wl.c_state)
end
end
push!(join_list, wl)
Expand Down

0 comments on commit 5af1cf0

Please sign in to comment.