SharedBufferStack(126): waitForCondition(LockCondition) timed out.

lhxzgw 2011-09-21 06:05:37
09-19 17:38:41.269: WARN/SharedBufferStack(126): waitForCondition(LockCondition) timed out (identity=58, status=0). CPU may be pegged. trying again.
09-19 17:38:41.569: WARN/SharedBufferStack(259): waitForCondition(LockCondition) timed out (identity=4, status=0). CPU may be pegged. trying again.
看到有人说是线程死锁引起的。还有人遇到过类似问题吗?请问大家是怎么解决的呢?
...全文
803 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
ahxzb54 2012-04-27
  • 打赏
  • 举报
回复
求指导啊
ylf001443 2012-01-14
  • 打赏
  • 举报
回复
同求,我也碰到了
wenlin56 2011-09-21
  • 打赏
  • 举报
回复
是SufaceView使用过程中的问题吧?
SharedBufferStack 是负责“画图”的 Client 和 负责“更新显示内容”的Server 共同持有的一个缓冲区。
当任何一方使用获取或更新缓冲区内容时,都会锁定 SharedBufferStack 。
因此,在更新 SufaceView 的时候,应该首先Canvas.lock();锁定SharedBufferStack ,更新完了之后,应该要解锁:Canvas.unlock();
你看一下这个过程是否存在问题。
Jamse19860909 2011-09-21
  • 打赏
  • 举报
回复
GPU的问题

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧