Differences From Artifact [70e4fc157b]:
- File
src/OFThreadPool.m
— part of check-in
[4ac1256458]
at
2012-03-21 15:39:31
on branch trunk
— OFThreadPool: Terminate threads on deallocation.
Threads will not terminate instantly, but after finishing their current
job. (user: js, size: 6977) [annotate] [blame] [check-ins using] [more...]
To Artifact [7cccc445b9]:
- File src/OFThreadPool.m — part of check-in [c223ace803] at 2012-04-03 15:30:36 on branch trunk — Don't compare blocks to nil. (user: js, size: 6978) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
115 116 117 118 119 120 121 |
[super dealloc];
}
- (void)perform
{
#ifdef OF_HAVE_BLOCKS
| | | 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
[super dealloc];
}
- (void)perform
{
#ifdef OF_HAVE_BLOCKS
if (block != NULL)
block(object);
else
#endif
[object performSelector: selector
withObject: object];
}
@end
|
| ︙ | ︙ |