@@ -129,21 +129,21 @@ @public volatile bool _terminate; volatile int *_doneCount; } -+ (instancetype)threadWithThreadPool: (OFThreadPool*)threadPool; -- initWithThreadPool: (OFThreadPool*)threadPool; ++ (instancetype)threadWithThreadPool: (OFThreadPool *)threadPool; +- initWithThreadPool: (OFThreadPool *)threadPool; @end @implementation OFThreadPoolThread -+ (instancetype)threadWithThreadPool: (OFThreadPool*)threadPool ++ (instancetype)threadWithThreadPool: (OFThreadPool *)threadPool { return [[[self alloc] initWithThreadPool: threadPool] autorelease]; } -- initWithThreadPool: (OFThreadPool*)threadPool +- initWithThreadPool: (OFThreadPool *)threadPool { self = [super init]; @try { _queue = [threadPool->_queue retain]; @@ -314,11 +314,11 @@ [_countCondition release]; [super dealloc]; } -- (void)OF_dispatchJob: (OFThreadPoolJob*)job +- (void)OF_dispatchJob: (OFThreadPoolJob *)job { [_countCondition lock]; _count++; [_countCondition unlock];