Swift GCD 死锁

1. 串行队列中,在异步任务中添加同步任务
1 | /// 由于没有定义 attributes 所以是串行队列 |
2. 主线程同步
1 | let queue = DispatchQueue.main |
- Post title:Swift GCD 死锁
- Post author:xxxixxxx
- Create time:2020-11-04 00:00:00
- Post link:https://xxxixxx.github.io/2020/11/04/100-Swift-GCD-死锁/
- Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
Comments