[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/huangzhihuan/cpp-taskflow/master/example/observer.cpp [Back]  [Original]

// Demonstrates the use of observer to monitor worker activities

#include 

int main(){
  
  tf::Executor executor;
  
  // Create a taskflow of eight tasks
  tf::Taskflow taskflow;

  auto [A, B, C, D, E, F, G, H] = taskflow.emplace(
    [] () { std::cout 

Web Proxy Viewer  |  New URL  |  Original Page