[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/ModuleWorks/taskflow/mw-3.6.1/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 fu = executor.async([](){
    std::cout 

Web Proxy Viewer  |  New URL  |  Original Page