115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
* \param object The object to pass to the block
*/
- (void)dispatchWithBlock: (of_thread_pool_block_t)block
object: (id)object;
#endif
/**
* \brief Waits until all threads have finished.
*/
- (void)waitUntilFinished;
/**
* \brief Returns the size of the thread pool.
*
* \return The size of the thread pool
*/
- (size_t)size;
@end
|
|
|
|
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
* \param object The object to pass to the block
*/
- (void)dispatchWithBlock: (of_thread_pool_block_t)block
object: (id)object;
#endif
/**
* \brief Waits until all jobs are done.
*/
- (void)waitUntilDone;
/**
* \brief Returns the size of the thread pool.
*
* \return The size of the thread pool
*/
- (size_t)size;
@end
|