Skip to content

Commit

Permalink
Okay, take it home, Sammy...
Browse files Browse the repository at this point in the history
  • Loading branch information
Trey Roessig committed Dec 22, 2020
1 parent 66cc2fb commit e0a4da0
Show file tree
Hide file tree
Showing 2 changed files with 413 additions and 409 deletions.
6 changes: 5 additions & 1 deletion base/stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,11 @@ function uv_write(s::LibuvStream, p::Ptr{UInt8}, n::UInt)
# wait for the last chunk to complete (or error)
# assume that any errors would be sticky,
# (so we don't need to monitor the error status of the intermediate writes)
wait()::Cint
r = wait()
while !(r isa Cint)
r = wait()
end
r
finally
# try-finally unwinds the sigatomic level, so need to repeat sigatomic_end
sigatomic_end()
Expand Down
Loading

0 comments on commit e0a4da0

Please sign in to comment.