ThreadSchedule 1.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
threadschedule::GlobalHighPerformancePool Class Reference

Singleton high-performance thread pool for global use. More...

#include <thread_pool.hpp>

Static Public Member Functions

static auto instance () -> HighPerformancePool &
template<typename F, typename... Args>
static auto submit (F &&f, Args &&... args)
template<typename Iterator>
static auto submit_batch (Iterator begin, Iterator end)
template<typename Iterator, typename F>
static void parallel_for_each (Iterator begin, Iterator end, F &&func)

Detailed Description

Singleton high-performance thread pool for global use.

Definition at line 1187 of file thread_pool.hpp.

Member Function Documentation

◆ instance()

auto threadschedule::GlobalHighPerformancePool::instance ( ) -> HighPerformancePool&
inlinestatic

Definition at line 1190 of file thread_pool.hpp.

◆ parallel_for_each()

template<typename Iterator, typename F>
void threadschedule::GlobalHighPerformancePool::parallel_for_each ( Iterator begin,
Iterator end,
F && func )
inlinestatic

Definition at line 1209 of file thread_pool.hpp.

◆ submit()

template<typename F, typename... Args>
auto threadschedule::GlobalHighPerformancePool::submit ( F && f,
Args &&... args )
inlinestatic

Definition at line 1197 of file thread_pool.hpp.

◆ submit_batch()

template<typename Iterator>
auto threadschedule::GlobalHighPerformancePool::submit_batch ( Iterator begin,
Iterator end )
inlinestatic

Definition at line 1203 of file thread_pool.hpp.


The documentation for this class was generated from the following file: