摘要:
queue有三种Main:tasks execute serially on your application’s main threadConcurrent:tasks start executing in FIFO order, but can run concurrently.Serial:tasks execute one at a time in FIFO order(1)serial queues(串行队列)又称私有调度队列(private),一般用再对特定资源的同步访问上。我们可以根据需要创建任意数量的串行队列,每一个串行队列之间是并发的。(2)并行队列,又称global dis 阅读全文