sedymrak wrote:

In the following method:

  ConnectionFileDescriptor::Read

(which is invoked also on Windows)
LLDB first waits until some bytes are available

  status = BytesAvailable(timeout, error_ptr);

and only then it tries to read them:

  error = m_io_sp->Read(dst, bytes_read);

So the situation where the `::recv` could fail with the `WSAEWOULDBLOCK`
error cannot happen.

That makes this pull-request pointless so I am closing it...

https://github.com/llvm/llvm-project/pull/207426
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to