iOS - 关于 GCD 常用 API 总结

1. dispatch_apply 2. dispatch_barrier_async 3. 线程安全(线程锁) 3.1 dispatch_semaphore_t (性能最优) 3.2 @synchronized (性能较差,用的不多) 3.3 nonatomic 与 atomic 的区别
相关文章
相关标签/搜索