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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user