[Lldb-commits] [PATCH] D112169: [lldb] [Communication] Add a WriteAll() method that resumes writing

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 25 01:12:04 PDT 2021


labath added a comment.

In D112169#3083380 <https://reviews.llvm.org/D112169#3083380>, @mgorny wrote:

> I'm not against that. However, unless I'm mistaken — even with blocking I/O, we need to account for the `write()` being interrupted in the middle of operation and returning less than `src_len`.

You're not mistaken. However, we can get rid of the funky sleep.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112169/new/

https://reviews.llvm.org/D112169



More information about the lldb-commits mailing list