Don't lock the thread list during ThreadList::ShouldStop. That does too
authorJim Ingham <jingham@apple.com>
Thu, 15 Nov 2012 22:44:04 +0000 (22:44 +0000)
committerJim Ingham <jingham@apple.com>
Thu, 15 Nov 2012 22:44:04 +0000 (22:44 +0000)
commitb42f3af3361ae717d355133f926631a2e5ec16e7
tree62f19dc710251c74f78cc46fb47f0f9c57d75888
parentfab9bb6890ea04378988ec50db3859b7b4ed8c5e
Don't lock the thread list during ThreadList::ShouldStop.  That does too
much work for this to make sense.  Just copy the current thread list and
operate on that.  Prevents some deadlocks.

llvm-svn: 168106
lldb/source/Target/ThreadList.cpp