dispatch_queue_t myCustomQueue;
myCustomQueue=dispatch_queue_create("com.example.MyCustomQueue", nil);
dispatch_async(myCustomQueue, ^{
printf("Do some work here.\n");
});
dispatch_async(myCustomQueue, ^{
printf("Do Some Things here!!!\n");
});
我实现了Serial Dispatch Queues,之后我分配了两个任务,我想回调一个通知整个应用程序的任务。这个怎么做?。