mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-02 13:12:09 +00:00
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
This commit is contained in:
parent
cb780b32a3
commit
12fc675212
@ -1022,7 +1022,7 @@ Process::WaitForProcessToStop(const std::chrono::microseconds &timeout, EventSP
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user