298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
|
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
|
+
-
-
+
|
* @note Be sure to call [super handleTermination]!
*/
- (void)handleTermination OF_REQUIRES_SUPER;
/**
* @brief Starts the thread.
*
* @throw OFStartThreadFailedException Starting the thread failed
* @throw OFThreadStillRunningException The thread is still running
* @throw OFThreadStartFailedException Starting the thread failed
*/
- (void)start;
/**
* @brief Joins a thread.
*
* @return The object returned by the main method of the thread.
* @throw OFThreadJoinFailedException Joining the thread failed
* @throw OFJoinThreadFailedException Joining the thread failed
*/
- (id)join;
#else
- (instancetype)init OF_UNAVAILABLE;
#endif
@end
|