Permalink
Browse files

renaming the concurrent queue attribute

  • Loading branch information...
1 parent 9a37931 commit 2d703322cfbf4ff983681bf45724727ee1c9c1b3 @Machx committed Feb 28, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Source/CWBlockQueue.m
View
@@ -91,12 +91,12 @@ -(dispatch_queue_t)_getDispatchQueueWithType:(NSInteger)type
dispatch_queue_t queue = NULL;
if (type == kCWBlockQueueTargetPrivateQueue) {
- dispatch_queue_attr_t isConcurrent = (concurrent) ? DISPATCH_QUEUE_CONCURRENT : DISPATCH_QUEUE_SERIAL;
+ dispatch_queue_attr_t queueConcurrentAttribute = (concurrent) ? DISPATCH_QUEUE_CONCURRENT : DISPATCH_QUEUE_SERIAL;
if (label) {
- queue = dispatch_queue_create([label UTF8String], isConcurrent);
+ queue = dispatch_queue_create([label UTF8String], queueConcurrentAttribute);
} else {
const char *uniqueLabel = [[NSString stringWithFormat:@"com.Zangetsu.CWBlockQueue_%@",[NSString cw_uuidString]] UTF8String];
- queue = dispatch_queue_create(uniqueLabel, isConcurrent);
+ queue = dispatch_queue_create(uniqueLabel, queueConcurrentAttribute);
}
} else if (type == kCWBlockQueueTargetGCDHighPriority) {

0 comments on commit 2d70332

Please sign in to comment.