90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
#ifdef OF_HAVE_BLOCKS
- initWithBlock: (of_thread_pool_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;
|
|
|
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
#ifdef OF_HAVE_BLOCKS
- initWithBlock: (of_thread_pool_block_t)block_
object: (id)object_
{
self = [super init];
@try {
block = [block_ copy];
object = [object_ retain];
} @catch (id e) {
[self release];
@throw e;
}
return self;
|