|
TECA
The Toolkit for Extreme Climate Analysis
|
A class to manage a fixed size pool of threads that dispatch I/O work. More...
#include <teca_thread_pool.h>
Public Member Functions | |
| teca_thread_pool (MPI_Comm comm, int n, bool bind, bool verbose) | |
| teca_thread_pool (const teca_thread_pool &src)=delete | |
| teca_thread_pool (teca_thread_pool &&src)=delete | |
| teca_thread_pool & | operator= (const teca_thread_pool &src)=delete |
| teca_thread_pool & | operator= (teca_thread_pool &&src)=delete |
| void | push_task (task_t &task) |
| template<template< typename ... > class container_t, typename ... args> | |
| void | wait_all (container_t< data_t, args ... > &data) |
| template<template< typename ... > class container_t, typename ... args> | |
| int | wait_some (long n_to_wait, long long poll_interval, container_t< data_t, args ... > &data) |
| unsigned int | size () const noexcept |
A class to manage a fixed size pool of threads that dispatch I/O work.