Temporarily reverting r181091 and r181106 due to the vast test breakage on the Linux buildbots

while we develop a better understanding of how to manage the thread lists in a platform-independant fashion.

Reviewed by: Daniel Malea

llvm-svn: 181323
This commit is contained in:
Ashok Thirumurthi
2013-05-07 15:01:34 +00:00
parent 954c6ef10f
commit f5b92402bf
12 changed files with 122 additions and 150 deletions

View File

@@ -171,9 +171,7 @@ OperatingSystemPython::GetPluginVersion()
}
bool
OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list,
ThreadList &core_thread_list,
ThreadList &new_thread_list)
OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list, ThreadList &new_thread_list)
{
if (!m_interpreter || !m_python_object_sp)
return false;
@@ -196,6 +194,8 @@ OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list,
PythonList threads_list(m_interpreter->OSPlugin_ThreadsInfo(m_python_object_sp));
if (threads_list)
{
ThreadList core_thread_list(new_thread_list);
uint32_t i;
const uint32_t num_threads = threads_list.GetSize();
for (i=0; i<num_threads; ++i)