|
ThreadSchedule 3.0.0
Modern C++ thread management library
|
Process-wide pool facades and global parallel helpers. More...
#include "thread_pool_backend_base.hpp"#include "work_stealing_pool_backend.hpp"#include "worker_count.hpp"#include <cstddef>#include <mutex>#include <thread>#include <utility>Go to the source code of this file.
Classes | |
| class | threadschedule::detail::global_pool_backend< PoolType > |
| Singleton accessor for a process-wide pool instance. More... | |
Namespaces | |
| namespace | threadschedule |
| namespace | threadschedule::detail |
| Aggregates multiple thread_registry_backend instances into a single queryable view. | |
Typedefs | |
| using | threadschedule::detail::global_thread_pool_backend = global_pool_backend< thread_pool_backend > |
Singleton accessor for the process-wide thread_pool_backend instance. | |
| using | threadschedule::detail::global_work_stealing_pool_backend = global_pool_backend< work_stealing_pool_backend > |
| Singleton accessor for the process-wide work_stealing_pool_backend instance. | |
Functions | |
| template<typename Container , typename F > | |
| void | threadschedule::detail::parallel_for_each (Container &container, F &&func) |
Convenience wrapper that applies a callable to every element of a container in parallel using the global_thread_pool_backend singleton. | |
Process-wide pool facades and global parallel helpers.
Self-contained internal implementation header.
Definition in file global_pool_backend.hpp.