thread_pool icon indicating copy to clipboard operation
thread_pool copied to clipboard

C++ thread pool library

Results 2 thread_pool issues
Sort by recently updated
recently updated
newest added

Conditionally replacing usage of `std::result_of` with `std::invoke_result_t` when compiling for C++17 standard or higher. C++17 deprecates `std::result_of` in favor of `std::invoke_result` and `std::invoke_result_t`. C++20 removes it completely.

std::max() statement fails to compile when arguments are of different types. This becomes a problem on 32-bit architectures where size_t is 4 bytes rather than 8.