'''oc
dispatch_group_tgroup =dispatch_group_create();
dispatch_group_async(group,dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0), ^{
dispatch_semaphore_tsemaphore =dispatch_semaphore_create(0);
for(NSIntegeri =0; i <9; i++) {
//dispatch_group_enter(group);
[weakSelfrequestUploadWeiboImage:i
completeBlock:^(boolsuccess) {
//dispatch_group_leave(group);
dispatch_semaphore_signal(semaphore);
}];
DebugLog(@"===== %ld", i);
//[];
dispatch_semaphore_wait(semaphore,DISPATCH_TIME_FOREVER);
}
});
dispatch_group_notify(group,dispatch_get_main_queue(), ^{
NSLog(@"上傳完成!");
//for (id response in result) {
//NSLog(@"%@", response);
//}
});
'''