diff options
author | John Reck <jreck@google.com> | 2014-07-23 14:54:04 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-07-23 22:28:44 +0000 |
commit | 73b7a4db4116774156fda3a510cc3afa14be9ffd (patch) | |
tree | 928ca1b91bd9e5e8d88ce58069a6d0027d37f965 /libs/hwui/renderthread/RenderProxy.cpp | |
parent | df8f55948a20a0f1673274ea904eeaf8031c7d57 (diff) |
Dump RenderThread stack on unresponsive
Bug: 16408405
Change-Id: I4ba4836fd1451fb8ba77c34cdb843d3cb4217bb8
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index 6cd3d0bdb96b..91f5801d8b60 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -405,8 +405,7 @@ void* RenderProxy::postAndWait(MethodInvokeRenderTask* task) { task->setReturnPtr(&retval); SignalingRenderTask syncTask(task, &mSyncMutex, &mSyncCondition); AutoMutex _lock(mSyncMutex); - mRenderThread.queue(&syncTask); - mSyncCondition.wait(mSyncMutex); + mRenderThread.queueAndWait(&syncTask, mSyncCondition, mSyncMutex); return retval; } |