Using DISPATCH_QUEUE_CONCURRENT for all calls to dispatch_queue_create for media type processing queues
This commit is contained in:
parent
136f5ab1b9
commit
87c8c776d9
4 changed files with 4 additions and 4 deletions
|
|
@ -25,7 +25,7 @@
|
|||
static dispatch_queue_t af_image_request_operation_processing_queue;
|
||||
static dispatch_queue_t image_request_operation_processing_queue() {
|
||||
if (af_image_request_operation_processing_queue == NULL) {
|
||||
af_image_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.image-request.processing", 0);
|
||||
af_image_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.image-request.processing", DISPATCH_QUEUE_CONCURRENT);
|
||||
}
|
||||
|
||||
return af_image_request_operation_processing_queue;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
static dispatch_queue_t af_json_request_operation_processing_queue;
|
||||
static dispatch_queue_t json_request_operation_processing_queue() {
|
||||
if (af_json_request_operation_processing_queue == NULL) {
|
||||
af_json_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.json-request.processing", 0);
|
||||
af_json_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.json-request.processing", DISPATCH_QUEUE_CONCURRENT);
|
||||
}
|
||||
|
||||
return af_json_request_operation_processing_queue;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
static dispatch_queue_t af_property_list_request_operation_processing_queue;
|
||||
static dispatch_queue_t property_list_request_operation_processing_queue() {
|
||||
if (af_property_list_request_operation_processing_queue == NULL) {
|
||||
af_property_list_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.property-list-request.processing", 0);
|
||||
af_property_list_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.property-list-request.processing", DISPATCH_QUEUE_CONCURRENT);
|
||||
}
|
||||
|
||||
return af_property_list_request_operation_processing_queue;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
static dispatch_queue_t af_xml_request_operation_processing_queue;
|
||||
static dispatch_queue_t xml_request_operation_processing_queue() {
|
||||
if (af_xml_request_operation_processing_queue == NULL) {
|
||||
af_xml_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.xml-request.processing", 0);
|
||||
af_xml_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.xml-request.processing", DISPATCH_QUEUE_CONCURRENT);
|
||||
}
|
||||
|
||||
return af_xml_request_operation_processing_queue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue