[Lldb-commits] [PATCH] D131159: [lldb] Use WSAEventSelect for MainLoop polling on windows
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 18 09:45:53 PDT 2022
labath added a comment.
Thank you, Martin and Alvin for trying this out. Setting `LLDB_USE_LLDB_SERVER` definitely increases the number of tests that use lldb-server, but I wouldn't really say it's necessary, as I would expect that a change like this either works, or fails spectacularly.
Can I assume that you are ok with checking this in?
In D131159#3709965 <https://reviews.llvm.org/D131159#3709965>, @labath wrote:
> As for performance, it's definitely slower than not creating the events every time around, but I doubt that difference would be noticeable. However, now that I think about it, I think the repeating the call to `WSAEventSelect` should be sufficient to get the level-triggered behavior, even if it's just reusing the same event object. Let me try how that works.
I have implemented this now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131159/new/
https://reviews.llvm.org/D131159
More information about the lldb-commits
mailing list