slydiman wrote:

> I don't like the idea of making Acceptor responsible for multiple ports for 
> the same reason I did not want to do that for TCPSocket -- it's complicated 
> and inflexible.

Note Acceptor is used ONLY in lldb-platform.cpp
We can use the Accept() for the second port in the second thread. Then it is 
enough to add TCPSocket::BreakAccept() or just use a dummy connection and don't 
change TCPSocket and Accptor at all. 
But the common Accept() for both connections in the single thread looks much 
better.

https://github.com/llvm/llvm-project/pull/106955
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to