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

* commit 'de836890abc7b5381e285833052375cbb85730cb':
  Prevent IPCThreadState::joinThreadPool from spinning on unexpected error
This commit is contained in:
Jeff Tinker 2013-06-11 20:11:43 -07:00 committed by Android Git Automerger
commit fc1f308ca1
1 changed files with 4 additions and 0 deletions

View File

@ -467,6 +467,10 @@ void IPCThreadState::joinThreadPool(bool isMain)
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