@@ -65,25 +65,19 @@ + (instancetype)threadPool; /*! * @brief Returns a new thread pool with the specified number of threads. * - * @warning If for some reason the number of cores in the system could not be - * determined, the pool will only have one thread! - * * @param size The number of threads for the pool * @return A new thread pool with the specified number of threads */ + (instancetype)threadPoolWithSize: (size_t)size; /*! * @brief Initializes an already allocated OFThreadPool with the specified * number of threads. * - * @warning If for some reason the number of cores in the system could not be - * determined, the pool will only have one thread! - * * @param size The number of threads for the pool * @return An initialized OFThreadPool with the specified number of threads */ - initWithSize: (size_t)size;