Dump RenderThread stack on unresponsive
Bug: 16408405 Change-Id: I4ba4836fd1451fb8ba77c34cdb843d3cb4217bb8
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user