| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/navono/cpp-taskflow/master/example/simple.cpp | [Back] [Original] |
// A simple example to capture the following task dependencies.
//
// TaskA---->TaskB---->TaskD
// TaskA---->TaskC---->TaskD
#include // the only include you need
#include
struct keep_apart {
alignas(64) std::atomic cat;
alignas(64) std::atomic dog;
};
int main(){
std::cout
| Web Proxy Viewer | New URL | Original Page |