Dump RenderThread stack on unresponsive

Bug: 16408405

Change-Id: I4ba4836fd1451fb8ba77c34cdb843d3cb4217bb8
This commit is contained in:
John Reck
2014-07-23 14:54:04 -07:00
parent df8f55948a
commit 73b7a4db41
4 changed files with 25 additions and 4 deletions

View File

@@ -85,8 +85,7 @@ int DrawFrameTask::drawFrame(nsecs_t frameTimeNanos, nsecs_t recordDurationNanos
void DrawFrameTask::postAndWait() {
AutoMutex _lock(mLock);
mRenderThread->queue(this);
mSignal.wait(mLock);
mRenderThread->queueAndWait(this, mSignal, mLock);
}
void DrawFrameTask::run() {