| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/yhcpp/taskflow/master/examples/cancel_async.cpp | [Back] [Original] |
// The program demonstrates how to cancel submitted asynchronous tasks.
#include
int main() {
tf::Executor executor;
std::vector futures;
// submit 10000 asynchronous tasks
for(int i=0; i
| Web Proxy Viewer | New URL | Original Page |