We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6f0591 commit 2f3e31aCopy full SHA for 2f3e31a
src/workers.jl
@@ -121,6 +121,7 @@ function Base.close(w::Worker, from::Symbol=:manual)
121
end
122
123
wait(w)
124
+ @debug "Worker $(w.pid) has closed successfully."
125
return
126
127
@@ -324,12 +325,14 @@ function serve_requests(io)
324
325
req = deserialize(io)
326
@assert req isa Request
327
if is_shutdown(req)
328
+ @debug "Received shutdown request on worker $(getpid())"
329
resp = Response(nothing, nothing, rand(UInt64), true)
330
@lock iolock begin
331
# println("sending response: $(resp)")
332
serialize(io, resp)
333
flush(io)
334
335
+ break
336
337
# println("received request: $(req)")
338
Threads.@spawn begin
0 commit comments