[Lldb-commits] [lldb] Convert ThreadPlanStack's mutex to a shared mutex. (PR #116438)

via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 15 18:13:56 PST 2024


jimingham wrote:

Ah, right.  The one place where a ThreadPlan should be messing with the ThreadPlanStack (through its Thread) is ThreadPlan::DidPush.  The point of that is largely that thread plans can't push new thread plans on the stack in their constructor - since they aren't on the stack yet.  However there are plans that work by delegating so they need to push the delegate plan before getting asked any questions.   That's what DidPush is for.

https://github.com/llvm/llvm-project/pull/116438


More information about the lldb-commits mailing list