20 typedef void (^of_thread_pool_block_t)(void);
26 @class OFThreadPoolJob;
42 volatile int doneCount;
54 + (instancetype)threadPool;
65 + (instancetype)threadPoolWithSize: (
size_t)size;
89 - initWithSize: (
size_t)size;
99 - (void)dispatchWithTarget: (
id)target
100 selector: (
SEL)selector
103 #ifdef OF_HAVE_BLOCKS
109 - (void)dispatchWithBlock: (of_thread_pool_block_t)block;
115 - (void)waitUntilDone;