#include <future>
#include <vector>
#include <jevois/Util/details/AsyncImpl.H>
Go to the source code of this file.
|
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...
|
|