JeVois  1.18
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Async.H File Reference
#include <future>
#include <vector>
#include <jevois/Util/details/AsyncImpl.H>
Include dependency graph for Async.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 jevois
 

Functions

template<class Function , class... Args>
std::future< std::invoke_result_t< std::decay_t< Function >, std::decay_t< Args >... > > jevois::async (Function &&f, Args &&... args)
 Async execution using a thread pool. More...
 
template<class Function , class... Args>
std::future< std::invoke_result_t< std::decay_t< Function >, std::decay_t< Args >... > > jevois::async_little (Function &&f, Args &&... args)
 Async execution using a thread pool. More...
 
template<typename T >
std::vector< T > jevois::joinall (std::vector< std::future< T >> &fvec, bool multiline=true)
 Collect results from several async threads that are all returning a T result. More...
 
void jevois::joinall (std::vector< std::future< void >> &fvec, bool multiline=true)
 Collect results from several async threads that are all returning a T result. More...