Index: source/Target/Process.cpp
===================================================================
--- source/Target/Process.cpp	(revision 109125)
+++ source/Target/Process.cpp	(working copy)
@@ -1433,6 +1433,7 @@
 
             thread_result_t result = NULL;
             Host::ThreadJoin (m_private_state_thread, &result, NULL);
+            m_private_state_thread = LLDB_INVALID_HOST_THREAD;
         }
     }
 }
@@ -1470,7 +1471,6 @@
 {
     Process *proc = static_cast<Process*> (arg);
     void *result = proc->RunPrivateStateThread ();
-    proc->m_private_state_thread = LLDB_INVALID_HOST_THREAD;
     return result;
 }
 
