We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed5776 commit 9283e6fCopy full SHA for 9283e6f
src/cluster.jl
@@ -659,9 +659,9 @@ function create_worker(manager, wconfig)
659
# require the value of config.connect_at which is set only upon connection completion
660
for jw in PGRP.workers
661
if (jw.id != 1) && (jw.id < w.id)
662
- # wait for wl to join
663
- if jw.state === W_CREATED
664
- lock(jw.c_state) do
+ lock(jw.c_state) do
+ # wait for wl to join
+ if jw.state === W_CREATED
665
wait(jw.c_state)
666
end
667
0 commit comments