summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-08-19 21:50:06 +0000
committerGreg Clayton <gclayton@apple.com>2010-08-19 21:50:06 +0000
commitbe77e3bd6e56c775cd72ad1cf188d186d2e7c3e4 (patch)
treea6905c242dc1851036e425c0659f2e751207f855 /lldb/source/Target/Process.cpp
parent086cae6c1fb00bca20dc12f36de6a622a167cf6e (diff)
downloadbcm5719-llvm-be77e3bd6e56c775cd72ad1cf188d186d2e7c3e4.tar.gz
bcm5719-llvm-be77e3bd6e56c775cd72ad1cf188d186d2e7c3e4.zip
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.
llvm-svn: 111567
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 38f99094e85..20bd1cc794f 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -1567,6 +1567,7 @@ Process::RunPrivateStateThread ()
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;
}
OpenPOWER on IntegriCloud