cs01 wrote:

After more analysis, I think shared ptr will be too difficult to implement, 
since the connection and client manages its lifecycle assuming it's the only 
client/thread using it. It will be challenging to ensure it doesn't get 
disconnected or freed while other threads are using it. Creating a new 
connection for each syncservice should have negligible overhead to establish 
the connection, especially in comparison to pushing or puling a file.

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

Reply via email to