257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
|
of_thread_exit();
}
- initWithObject: (id)object_
{
self = [super init];
@try {
object = [object_ retain];
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
#ifdef OF_HAVE_BLOCKS
- initWithBlock: (of_thread_block_t)block_
{
return [self initWithBlock: block_
object: nil];
}
- initWithBlock: (of_thread_block_t)block_
object: (id)object_
{
self = [super init];
@try {
block = [block_ retain];
object = [object_ retain];
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
#endif
- (id)main
{
|
<
|
<
<
<
<
<
|
|
<
<
<
<
|
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
|
of_thread_exit();
}
- initWithObject: (id)object_
{
self = [super init];
object = [object_ retain];
return self;
}
#ifdef OF_HAVE_BLOCKS
- initWithBlock: (of_thread_block_t)block_
{
return [self initWithBlock: block_
object: nil];
}
- initWithBlock: (of_thread_block_t)block_
object: (id)object_
{
self = [super init];
block = [block_ retain];
object = [object_ retain];
return self;
}
#endif
- (id)main
{
|