Fixup r277011 - wrong use of infinite timeout
The commit accidentally switched a timed wait on a condition variable into an infinite timeout.
Change that back. Android tests were timeing out without this.
llvm-svn: 277133
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index a46ca6b..98f9ea1 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -1022,7 +1022,7 @@
while (state != eStateInvalid)
{
EventSP event_sp;
- state = WaitForStateChangedEvents(std::chrono::milliseconds(0), event_sp, hijack_listener_sp);
+ state = WaitForStateChangedEvents(timeout, event_sp, hijack_listener_sp);
if (event_sp_ptr && event_sp)
*event_sp_ptr = event_sp;