//像这种情况 为什么会造成死锁
dispatch_queue_t queue = dispatch_get_main_queue();
// dispatch_queue_t queue = dispatch_queue_create("com.test", NULL);
NSLog(@"====================");
dispatch_sync(queue, ^{
NSLog(@"hello");
});
NSLog(@"--------------------");