Is dispatch_sync(dispatch_get_global_queue(xxx), task) sync or async
问题 As Apple's document says, dispatch_get_global_queue() is a concurrent queue, and dispatch_sync is something meaning serial.Then the tasks are processed async or sync? 回答1: You're getting confused between what a queue is and what async vs sync means. A queue is an entity on which blocks can be run. These can be serial or concurrent. Serial means that if you put block on in the order A, B, C, D, then they will be executed A, then B, then C, then D. Concurrent means that these same blocks might