#include <future>
#include <vector>
#include <jevois/Util/details/AsyncImpl.H>
Go to the source code of this file.
|
| namespace | jevois |
| | Main namespace for all JeVois classes and 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.
|
| |
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |