Loading...
Searching...
No Matches
concurrent::threadpool Class Reference

#include <opencv2/v4d/detail/threadpool.hpp>

Public Member Functions

 threadpool (const threadpool &)=delete
 
 threadpool (size_t threads)
 
 ~threadpool () noexcept
 
template<typename Fn , typename... Args>
decltype(auto) enqueue (Fn &&fn, Args &&... args)
 
template<typename Fn , typename... Args>
decltype(auto) enqueue_r (Fn &&fn, Args &&... args)
 
void finish ()
 
threadpooloperator= (const threadpool &)=delete
 

Constructor & Destructor Documentation

◆ threadpool() [1/2]

concurrent::threadpool::threadpool ( size_t  threads)
inlineexplicit

◆ threadpool() [2/2]

concurrent::threadpool::threadpool ( const threadpool )
delete

◆ ~threadpool()

concurrent::threadpool::~threadpool ( )
inlinenoexcept

Member Function Documentation

◆ enqueue()

template<typename Fn , typename... Args>
decltype(auto) concurrent::threadpool::enqueue ( Fn &&  fn,
Args &&...  args 
)
inline

◆ enqueue_r()

template<typename Fn , typename... Args>
decltype(auto) concurrent::threadpool::enqueue_r ( Fn &&  fn,
Args &&...  args 
)
inline

◆ finish()

void concurrent::threadpool::finish ( )
inline

◆ operator=()

threadpool & concurrent::threadpool::operator= ( const threadpool )
delete

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