Move the thread logic around to fit better into LLDB's process model.
authorZachary Turner <zturner@google.com>
Mon, 17 Nov 2014 21:31:30 +0000 (21:31 +0000)
committerZachary Turner <zturner@google.com>
Mon, 17 Nov 2014 21:31:30 +0000 (21:31 +0000)
commit1019695b38bf65ad7d54faa62466cc7b67267aea
tree176643285bd21a2334eb25e2b31f9f76c333c7f8
parentd553d00c79eb250a10cd3ad8b45103ff0be0c9ee
Move the thread logic around to fit better into LLDB's process model.

Previously we were directly updating the thread list and stopping
and restarting the process every time threads were created.  With
this patch, we queue up thread launches and thread exits, resolve
these all internally, and only update the threads when we get an
UpdateThreadList call.  We now only update the private state on
an actual stop (i.e. breakpoint).

llvm-svn: 222178
lldb/source/Plugins/Process/Windows/DebuggerThread.cpp
lldb/source/Plugins/Process/Windows/ForwardDecl.h
lldb/source/Plugins/Process/Windows/ProcessWindows.cpp