Differences From Artifact [5da8ae2890]:
- File src/OFThreadPool.h — part of check-in [4b6dfe02f2] at 2017-06-05 18:56:57 on branch trunk — Doxyfile: Add missing defines (user: js, size: 3133) [annotate] [blame] [check-ins using]
To Artifact [eee48469e5]:
- File
src/OFThreadPool.h
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 3147) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
73 74 75 76 77 78 79 | /*! * @brief Initializes an already allocated OFThreadPool with the specified * number of threads. * * @param size The number of threads for the pool * @return An initialized OFThreadPool with the specified number of threads */ | | | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | /*! * @brief Initializes an already allocated OFThreadPool with the specified * number of threads. * * @param size The number of threads for the pool * @return An initialized OFThreadPool with the specified number of threads */ - (instancetype)initWithSize: (size_t)size OF_DESIGNATED_INITIALIZER; /*! * @brief Execute the specified selector on the specified target with the * specified object as soon as a thread is ready. * * @param target The target on which to perform the selector * @param selector The selector to perform on the target |
︙ | ︙ |