TECA
Public Member Functions | List of all members
teca_thread_pool< task_t, data_t > Class Template Reference

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_pooloperator= (const teca_thread_pool &src)=delete
 
teca_thread_pooloperator= (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
 

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