Skip to content

Commit 461ae98

Browse files
committed
2 parents 00d6557 + d48a30f commit 461ae98

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Technical details can be referred to our [IEEE IPDPS19 paper][IPDPS19].
8585

8686
# Get Started with Cpp-Taskflow
8787

88-
The following example [simple.cpp](./example/simple.cpp) shows the basic Cpp-Taskflow API
88+
The following example [simple.cpp](./examples/simple.cpp) shows the basic Cpp-Taskflow API
8989
you need in most applications.
9090

9191
```cpp
@@ -691,7 +691,7 @@ to a sequential chain of executions.
691691
```cpp
692692
executor.run(taskflow); // runs a graph once
693693
executor.run_n(taskflow, 5); // runs a graph five times
694-
executor.run_n(taskflow, my_pred); // keeps running until the my_pred becomes true
694+
executor.run_until(taskflow, my_pred); // keeps running until the my_pred becomes true
695695
executor.wait_for_all(); // blocks until all tasks finish
696696
```
697697

@@ -741,19 +741,19 @@ Alternatively, you can use CMake's testing framework to run the unittest.
741741

742742
## Examples
743743

744-
The folder `example/` contains several examples and is a great place to learn to use Cpp-Taskflow.
744+
The folder `examples/` contains several examples and is a great place to learn to use Cpp-Taskflow.
745745

746746
| Example | Description |
747747
| ------- | ----------- |
748-
| [simple.cpp](./example/simple.cpp) | uses basic task building blocks to create a trivial taskflow graph |
749-
| [debug.cpp](./example/debug.cpp)| inspects a taskflow through the dump method |
750-
| [parallel_for.cpp](./example/parallel_for.cpp)| parallelizes a for loop with unbalanced workload |
751-
| [reduce.cpp](./example/reduce.cpp)| performs reduce operations over linear containers |
752-
| [subflow.cpp](./example/subflow.cpp)| demonstrates how to create a subflow graph that spawns three dynamic tasks |
753-
| [run_variants.cpp](./example/run_variants.cpp)| shows multiple ways to run a taskflow graph |
754-
| [composition.cpp](./example/composition.cpp)| demonstrates the decomposable interface of taskflow |
755-
| [observer.cpp](./example/observer.cpp)| demonstrates how to monitor the thread activities in scheduling and running tasks |
756-
| [condition.cpp](./example/condition.cpp) | creates a conditional tasking graph with a feedback loop control flow |
748+
| [simple.cpp](./examples/simple.cpp) | uses basic task building blocks to create a trivial taskflow graph |
749+
| [debug.cpp](./examples/debug.cpp)| inspects a taskflow through the dump method |
750+
| [parallel_for.cpp](./examples/parallel_for.cpp)| parallelizes a for loop with unbalanced workload |
751+
| [reduce.cpp](./examples/reduce.cpp)| performs reduce operations over linear containers |
752+
| [subflow.cpp](./examples/subflow.cpp)| demonstrates how to create a subflow graph that spawns three dynamic tasks |
753+
| [run_variants.cpp](./examples/run_variants.cpp)| shows multiple ways to run a taskflow graph |
754+
| [composition.cpp](./examples/composition.cpp)| demonstrates the decomposable interface of taskflow |
755+
| [observer.cpp](./examples/observer.cpp)| demonstrates how to monitor the thread activities in scheduling and running tasks |
756+
| [condition.cpp](./examples/condition.cpp) | creates a conditional tasking graph with a feedback loop control flow |
757757

758758
## Benchmarks
759759

0 commit comments

Comments
 (0)