[all-commits] [llvm/llvm-project] b6e04a: [lldb/test] Avoid the socket "pump" thread
Pavel Labath via All-commits
all-commits at lists.llvm.org
Mon Nov 30 00:09:37 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b6e04ac5aa881c1fbb66da884b04e48dfb102474
https://github.com/llvm/llvm-project/commit/b6e04ac5aa881c1fbb66da884b04e48dfb102474
Author: Pavel Labath <pavel at labath.sk>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py
Log Message:
-----------
[lldb/test] Avoid the socket "pump" thread
A separate thread is not necessary, as we can do its work on the main
thread, while waiting for the packet to arrive. This makes the code
easier to understand and debug (other simplifications are possible too,
but I'll leave that for separate patches). The new implementation also
avoids busy waiting.
More information about the All-commits
mailing list