Differences From Artifact [b54e691e3d]:
- File src/OFThreadPool.m — part of check-in [27138ee85b] at 2013-03-14 19:25:48 on branch trunk — Add a few memory barriers. (user: js, size: 7190) [annotate] [blame] [check-ins using]
To Artifact [26d1ba486e]:
- File
src/OFThreadPool.m
— part of check-in
[a3639589d3]
at
2013-06-30 18:30:12
on branch trunk
— Rename -[initWithBlock:].
It is now called -[initWithThreadBlock:] in order to prevent method
signature conflicts.This also fixes a missing release for the thread block. (user: js, size: 7167) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
59 60 61 62 63 64 65 | selector: selector object: object] autorelease]; } #ifdef OF_HAVE_BLOCKS + (instancetype)jobWithBlock: (of_thread_pool_block_t)block { | < | | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | selector: selector object: object] autorelease]; } #ifdef OF_HAVE_BLOCKS + (instancetype)jobWithBlock: (of_thread_pool_block_t)block { return [[[self alloc] initWithBlock: block] autorelease]; } #endif - initWithTarget: (id)target selector: (SEL)selector object: (id)object { |
︙ | ︙ |