Differences From Artifact [d6804b022e]:
- File src/OFThread.h — part of check-in [35934a9594] at 2017-04-02 16:02:52 on branch trunk — Avoid the anonymous namespace for ObjC++ with GCC (user: js, size: 6414) [annotate] [blame] [check-ins using]
To Artifact [5cd28cdb35]:
- File
src/OFThread.h
— part of check-in
[0a73af49f0]
at
2017-04-30 13:35:16
on branch trunk
— Use nonatomic for properties and clean up
This changes retaining behavior, meaning properties are not returned
retained and autoreleased anymore, so a property returned from a getter
now needs to be manually retained and autoreleased before calling the
setter. However, this is rarely the case and not using atomic improves
performance. (user: js, size: 6419) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
77 78 79 80 81 82 83 | OFString *_name; } #ifdef OF_HAVE_BLOCKS /*! * The block to execute in the thread. */ | | | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | OFString *_name; } #ifdef OF_HAVE_BLOCKS /*! * The block to execute in the thread. */ @property (readonly, nonatomic) of_thread_block_t threadBlock; #endif /*! * @brief Creates a new thread. * * @return A new, autoreleased thread */ |
︙ | ︙ |