167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
*/
- initWithThreadBlock: (of_thread_block_t)threadBlock;
# endif
/*!
* @brief The main routine of the thread. You need to reimplement this!
*
* It can access the object passed to the @ref threadWithObject: or
* @ref initWithObject: method using the instance variable named object.
*
* @return The object the join method should return when called for this thread
*/
- (nullable id)main;
/*!
* @brief This routine is executed when the thread's main method has finished
* executing or terminate has been called.
|
<
<
<
|
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
*/
- initWithThreadBlock: (of_thread_block_t)threadBlock;
# endif
/*!
* @brief The main routine of the thread. You need to reimplement this!
*
* @return The object the join method should return when called for this thread
*/
- (nullable id)main;
/*!
* @brief This routine is executed when the thread's main method has finished
* executing or terminate has been called.
|