[Lldb-commits] [lldb] r111567 - /lldb/trunk/source/Target/Process.cpp
Greg Clayton
gclayton at apple.com
Thu Aug 19 14:50:06 PDT 2010
Author: gclayton
Date: Thu Aug 19 16:50:06 2010
New Revision: 111567
URL: http://llvm.org/viewvc/llvm-project?rev=111567&view=rev
Log:
Fixed a long delay in shutdown times by invalidating m_private_state_thread right before the private state thread (which calls "void *Process::RunPrivateStateThread ()") exits.
Modified:
lldb/trunk/source/Target/Process.cpp
Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=111567&r1=111566&r2=111567&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Thu Aug 19 16:50:06 2010
@@ -1567,6 +1567,7 @@
if (log)
log->Printf ("Process::%s (arg = %p, pid = %i) thread exiting...", __FUNCTION__, this, GetID());
+ m_private_state_thread = LLDB_INVALID_HOST_THREAD;
return NULL;
}
More information about the lldb-commits
mailing list