[Lldb-commits] [PATCH] D18075: Fix deadlock due to thread list locking in 'bt all' with obj-c

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 10 18:36:02 PST 2016

jingham added a comment.

Another even safer way to do this is to take the thread list, turn it into a vector of TID's, then iterate over the TID's looking them up one at a time as you go.  That way you don't have to worry about your ThreadSP going stale.  You could even change HandleOneThread to take a tid, so you could centralize the lookup.


More information about the lldb-commits mailing list