#ThreadPool 1.0
Kelp http://kelp.phate.org/
MIT License
Thread Pool is a thread queue.
You could push threads to ThreadPool, and then it will process the thread.
ThreadPool *pool = [ThreadPool new]; NSThread *thread = [[NSThreadalloc] initWithTarget:selfselector:@selector(threadExecuteCode) object:nil]; thread.name = @"Thread A"; [pool pushThread:thread]; thread = [[NSThreadalloc] initWithTarget:selfselector:@selector(threadExecuteCode) object:nil]; thread.name = @"Thread B"; [pool pushThread:thread];- (void)threadExecuteCode{for (int index = 0; index < 10; index++){NSLog(@"%@: %i", [NSThreadcurrentThread].name, index)} }