Patch that allows for thread_t to be something more complex than an

integer. Modified patch from Kirk Beitz.

llvm-svn: 125067
This commit is contained in:
Greg Clayton
2011-02-08 01:34:25 +00:00
parent de7f699754
commit 2da6d49523
8 changed files with 32 additions and 16 deletions

View File

@@ -614,7 +614,7 @@ ScriptInterpreterPython::InputReaderCallback
embedded_interpreter_thread = Host::ThreadCreate ("<lldb.script-interpreter.embedded-python-loop>",
ScriptInterpreterPython::RunEmbeddedPythonInterpreter,
script_interpreter, NULL);
if (embedded_interpreter_thread != LLDB_INVALID_HOST_THREAD)
if (IS_VALID_LLDB_HOST_THREAD(embedded_interpreter_thread))
{
if (log)
log->Printf ("ScriptInterpreterPython::InputReaderCallback, Activate, succeeded in creating thread (thread = %d)", embedded_interpreter_thread);