You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -818,7 +818,6 @@ thousands of task nodes and links, there are a few amateur pitfalls and mistakes
818
818
+ Having a cycle in a graph may result in running forever
819
819
+ Destructing a taskflow while it is running in one execution results in undefined behavior
820
820
+ Trying to modify a running task can result in undefined behavior
821
-
+ Touching a taskflow or an executor from multiple threads is not safe
822
821
823
822
Cpp-Taskflow is known to work on Linux distributions, MAC OSX, and Microsoft Visual Studio.
824
823
Please [let me know][email me] if you found any issues in a particular platform.
@@ -921,6 +920,7 @@ Cpp-Taskflow is being actively developed and contributed by the following people
921
920
-[mrogez-yseop](https://github.com/mrogez-yseop) helped fix the missing comma in outputting the execution timeline JSON from the observer and the composition of an empty taskflow.
922
921
-[Sztergbaum Roman](https://github.com/Milerius) replaced the error-prone global setting in cmake with project-specific targets
923
922
-[mrogez-yseop](https://github.com/mrogez-yseop) fixed the bug of empty taskflow to block the executor
923
+
-[Robin Christ](https://github.com/robinchrist) identified things to fix in the outdated documentation and readme.
924
924
925
925
Meanwhile, we appreciate the support from many organizations for our development on Cpp-Taskflow.
926
926
Please [let me know][email me] if I forgot someone!
<p>Cpp-Taskflow aims to help C++ developers quickly implement efficient parallel decomposition strategies using task-based approaches.</p>
111
104
<h2><aclass="anchor" id="GeneralQuestion2"></a>
112
105
Q2: How do I use Cpp-Taskflow in my projects?</h2>
113
-
<p>Cpp-Taskflow is a header-only library with zero dependencies. The only thing you need is a <ahref="https://en.wikipedia.org/wiki/C%2B%2B17">C++17</a> compiler. To use Cpp-Taskflow, simply drop the folder <code>taskflow/</code> to your project and include taskflow.hpp.</p>
106
+
<p>Cpp-Taskflow is a header-only library with zero dependencies. The only thing you need is a C++17 compiler. To use Cpp-Taskflow, simply drop the folder <code>taskflow/</code> to your project and include taskflow.hpp.</p>
114
107
<h2><aclass="anchor" id="GeneralQuestion3"></a>
115
108
Q3: What is the difference between static tasking and dynamic tasking?</h2>
116
109
<p>Static tasking refers to those tasks created before execution, while dynamic tasking refers to those tasks created during the execution of static tasks or dynamic tasks (nested). Dynamic tasks created by the same task node are grouped together to a subflow.</p>
<p>Unfortunately, Cpp-Taskflow is heavily relying on modern C++17's features/idoms/STL and it is very difficult to provide a version that compiles under older C++ versions.</p>
126
119
<h2><aclass="anchor" id="GeneralQuestion7"></a>
127
120
Q7: How does Cpp-Taskflow schedule tasks?</h2>
128
-
<p>Cpp-Taskflow has implemented different scheduler modules (centralized queue, proactive shceduler, speculative strategy, and work stealing). The default scheduler implements the famous <ahref="https://en.wikipedia.org/wiki/Work_stealing">workstealing algorithm</a>that has shown to behave efficiently in most multicore architectures. You can find the source code at <code><aclass="el" href="executor_8hpp_source.html">taskflow/core/executor.hpp</a></code></p><hr/>
121
+
<p>Cpp-Taskflow implemented a very efficient <ahref="https://en.wikipedia.org/wiki/Work_stealing">work-stealing scheduler</a> to execute task dependency graphs. You can find the source code at <code><aclass="el" href="executor_8hpp_source.html">taskflow/core/executor.hpp</a></code></p><hr/>
0 commit comments