[Lldb-commits] [lldb] [lldb] make PlatformAndroid/AdbClient::GetSyncService threadsafe (PR #145382)

Chad Smith via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 27 09:46:55 PDT 2025


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


More information about the lldb-commits mailing list