charles-zablit wrote: > > I'm not sure how we are going to do this without some sort of timeout. > > The reader can be interrupted. Could we interrupt the reader in > `OnExitProcess`?
The problem with interrupting is that if a read is in progress, the interrupt discards the data. However, it turns out we can keep the event set and complete the read on the next loop. The latest push push works (as far as I can tell): no truncated output and no 5s timeout. I'm marking the PR as a draft for now, while cleanup the changes. https://github.com/llvm/llvm-project/pull/182302 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
