| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/ModuleWorks/taskflow/task_isolation/examples/async.cpp | [Back] [Original] |
// The program demonstrates how to create asynchronous task
// from an executor and a subflow.
#include
int main() {
tf::Executor executor;
// create asynchronous tasks from the executor
// (using executor as a thread pool)
std::future fu1 = executor.async([](){
std::cout
| Web Proxy Viewer | New URL | Original Page |