串行、并行、同步、异步

串行、并行、并发:线程池、任务队列

同步、异步:在管理线程上等待;

https://www.jianshu.com/p/e11e5ff3af80

 

派发任务到队列

dispatch_async(dispatch_queue_t queue, dispatch_block_t block)

posted @ 2020-10-26 18:03  zzfx  阅读(315)  评论(0编辑  收藏  举报