am ef07386e: Prevent IPCThreadState::joinThreadPool from spinning on unexpected error

* commit 'ef07386e2fca73680214ececc3c9c0ecbb0f6d88':
  Prevent IPCThreadState::joinThreadPool from spinning on unexpected error
This commit is contained in:
Jeff Tinker 2013-06-11 20:09:27 -07:00 committed by Android Git Automerger
commit de836890ab

View File

@ -466,6 +466,10 @@ void IPCThreadState::joinThreadPool(bool isMain)
result = executeCommand(cmd); result = executeCommand(cmd);
} else if (result != TIMED_OUT && result != -ECONNREFUSED && result != -EBADF) {
ALOGE("talkWithDriver(fd=%d) returned unexpected error %d, aborting",
mProcess->mDriverFD, result);
abort();
} }
// After executing the command, ensure that the thread is returned to the // After executing the command, ensure that the thread is returned to the