Skip to content
Commit bfae66ae authored by Greg Clayton's avatar Greg Clayton
Browse files

Fixed a multi-threaded race condition that could happen when communication...

Fixed a multi-threaded race condition that could happen when communication classes are shutting down. We currently don't protect communication connection classes against multi-threaded access. The connection is stored in the lldb_private::Communication.m_connection_ap auto_ptr member. We either need to add protections when accessing this class or not let anything racy occur. With this fix, we are doing the latter.

llvm-svn: 121647
parent 5be5391d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment