75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
/*!
* @brief Initializes an already allocated OFThreadPool with the specified
* number of threads.
*
* @param size The number of threads for the pool
* @return An initialized OFThreadPool with the specified number of threads
*/
- initWithSize: (size_t)size;
/*!
* @brief Execute the specified selector on the specified target with the
* specified object as soon as a thread is ready.
*
* @param target The target on which to perform the selector
* @param selector The selector to perform on the target
|
|
|
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
/*!
* @brief Initializes an already allocated OFThreadPool with the specified
* number of threads.
*
* @param size The number of threads for the pool
* @return An initialized OFThreadPool with the specified number of threads
*/
- initWithSize: (size_t)size OF_DESIGNATED_INITIALIZER;
/*!
* @brief Execute the specified selector on the specified target with the
* specified object as soon as a thread is ready.
*
* @param target The target on which to perform the selector
* @param selector The selector to perform on the target
|