会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天亮了_jia
博客园
首页
新随笔
联系
管理
订阅
2015年8月24日
关于dispatch_sync死锁问题
摘要: 首先,我们来看下下面一个例子:代码:(串行队列里同步线程嵌套) NSLog(@"haha"); dispatch_queue_t queue = dispatch_queue_create("test", nil); dispatch_sync(queue, ^ { NSLog(@"xx...
阅读全文
posted @ 2015-08-24 10:50 死磕侠
阅读(444)
评论(0)
推荐(0)
公告