| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/yhcpp/taskflow/master/examples/subflow_async.cpp | [Back] [Original] |
// The program demonstrates how to create asynchronous task
// from a running subflow.
#include
int main() {
tf::Taskflow taskflow("Subflow Async");
tf::Executor executor;
std::atomic counter{0};
taskflow.emplace([&](tf::Subflow& sf){
for(int i=0; i
| Web Proxy Viewer | New URL | Original Page |