ThreadSchedule 1.0.0
Modern C++ thread management library
|
Singleton thread pool for global use (simple version) More...
#include <thread_pool.hpp>
Static Public Member Functions | |
static auto | instance () -> ThreadPool & |
template<typename F, typename... Args> | |
static auto | submit (F &&f, Args &&... args) |
template<typename Iterator> | |
static auto | submit_range (Iterator begin, Iterator end) |
template<typename Iterator, typename F> | |
static void | parallel_for_each (Iterator begin, Iterator end, F &&func) |
Singleton thread pool for global use (simple version)
Definition at line 1153 of file thread_pool.hpp.
|
inlinestatic |
Definition at line 1156 of file thread_pool.hpp.
|
inlinestatic |
Definition at line 1175 of file thread_pool.hpp.
|
inlinestatic |
Definition at line 1163 of file thread_pool.hpp.
|
inlinestatic |
Definition at line 1169 of file thread_pool.hpp.