Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4e4d25

Browse files
committed
updated executor with minor opt
1 parent 6cc0fb0 commit a4e4d25

34 files changed

+3488
-1491
lines changed

docs/xml/classtf_1_1Executor.xml

Lines changed: 128 additions & 76 deletions
Large diffs are not rendered by default.

docs/xml/classtf_1_1Future.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</detaileddescription>
2424
<inbodydescription>
2525
</inbodydescription>
26-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="572" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="574" bodyend="-1"/>
26+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="574" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="576" bodyend="-1"/>
2727
</memberdef>
2828
</sectiondef>
2929
<sectiondef kind="friend">
@@ -38,7 +38,7 @@
3838
</detaileddescription>
3939
<inbodydescription>
4040
</inbodydescription>
41-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="569" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="569" bodyend="-1"/>
41+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="571" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="571" bodyend="-1"/>
4242
</memberdef>
4343
<memberdef kind="friend" id="classtf_1_1Future_1aa48945297ede77a161defc88033ce8a6" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
4444
<type>friend class</type>
@@ -51,7 +51,7 @@
5151
</detaileddescription>
5252
<inbodydescription>
5353
</inbodydescription>
54-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="570" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="570" bodyend="-1"/>
54+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="572" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="572" bodyend="-1"/>
5555
</memberdef>
5656
</sectiondef>
5757
<sectiondef kind="private-static-attrib">
@@ -67,7 +67,7 @@
6767
</detaileddescription>
6868
<inbodydescription>
6969
</inbodydescription>
70-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="577" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="577" bodyend="-1"/>
70+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="579" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="579" bodyend="-1"/>
7171
</memberdef>
7272
<memberdef kind="variable" id="classtf_1_1Future_1abd23028958308b6895bbbefb0c93ea4a" prot="private" static="yes" mutable="no">
7373
<type>constexpr auto</type>
@@ -81,7 +81,7 @@
8181
</detaileddescription>
8282
<inbodydescription>
8383
</inbodydescription>
84-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="578" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="578" bodyend="-1"/>
84+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="580" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="580" bodyend="-1"/>
8585
</memberdef>
8686
</sectiondef>
8787
<sectiondef kind="private-attrib">
@@ -96,7 +96,7 @@
9696
</detaileddescription>
9797
<inbodydescription>
9898
</inbodydescription>
99-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="623" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="623" bodyend="-1"/>
99+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="625" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="625" bodyend="-1"/>
100100
</memberdef>
101101
</sectiondef>
102102
<sectiondef kind="public-func">
@@ -111,7 +111,7 @@
111111
</detaileddescription>
112112
<inbodydescription>
113113
</inbodydescription>
114-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="585" column="1"/>
114+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="587" column="1"/>
115115
</memberdef>
116116
<memberdef kind="function" id="classtf_1_1Future_1ad22645f2bcbd2af449cfcd36eace9a1b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
117117
<type></type>
@@ -127,7 +127,7 @@
127127
</detaileddescription>
128128
<inbodydescription>
129129
</inbodydescription>
130-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="590" column="1"/>
130+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="592" column="1"/>
131131
</memberdef>
132132
<memberdef kind="function" id="classtf_1_1Future_1ae6c5f935a2062f58054b067d39f5e78a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
133133
<type></type>
@@ -143,7 +143,7 @@
143143
</detaileddescription>
144144
<inbodydescription>
145145
</inbodydescription>
146-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="595" column="1"/>
146+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="597" column="1"/>
147147
</memberdef>
148148
<memberdef kind="function" id="classtf_1_1Future_1af33647f94075cbbacc260f36917e6ff2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
149149
<type><ref refid="classtf_1_1Future" kindref="compound">Future</ref> &amp;</type>
@@ -159,7 +159,7 @@
159159
</detaileddescription>
160160
<inbodydescription>
161161
</inbodydescription>
162-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="600" column="1"/>
162+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="602" column="1"/>
163163
</memberdef>
164164
<memberdef kind="function" id="classtf_1_1Future_1af3f3c745d9359478e12560ceb2157fc6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
165165
<type><ref refid="classtf_1_1Future" kindref="compound">Future</ref> &amp;</type>
@@ -175,7 +175,7 @@
175175
</detaileddescription>
176176
<inbodydescription>
177177
</inbodydescription>
178-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="605" column="1"/>
178+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="607" column="1"/>
179179
</memberdef>
180180
<memberdef kind="function" id="classtf_1_1Future_1a3bf5f104864ab2590b6409712d3a469b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
181181
<type>bool</type>
@@ -189,7 +189,7 @@
189189
When you request a cancellation, the executor will stop scheduling any tasks onwards. Tasks that are already running will continue to finish (non-preemptive). You can call tf::Future::wait to wait for the cancellation to complete. </para> </detaileddescription>
190190
<inbodydescription>
191191
</inbodydescription>
192-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="619" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="638" bodyend="653"/>
192+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="621" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="640" bodyend="655"/>
193193
</memberdef>
194194
</sectiondef>
195195
<sectiondef kind="private-func">
@@ -217,7 +217,7 @@ When you request a cancellation, the executor will stop scheduling any tasks onw
217217
</detaileddescription>
218218
<inbodydescription>
219219
</inbodydescription>
220-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="626" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="631" bodyend="634"/>
220+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="628" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="633" bodyend="636"/>
221221
</memberdef>
222222
</sectiondef>
223223
<briefdescription>
@@ -263,7 +263,7 @@ When you request a cancellation, the executor will stop scheduling any tasks onw
263263
</childnode>
264264
</node>
265265
</collaborationgraph>
266-
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="567" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="567" bodyend="627"/>
266+
<location file="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" line="569" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/taskflow.hpp" bodystart="569" bodyend="629"/>
267267
<listofallmembers>
268268
<member refid="classtf_1_1Future_1a55bc4d50e32e28e8c904a75f9e7c7e9f" prot="private" virt="non-virtual"><scope>tf::Future</scope><name>_handle</name></member>
269269
<member refid="classtf_1_1Future_1ac1ce88887a135442eeac7b2eb29d8e23" prot="private" virt="non-virtual"><scope>tf::Future</scope><name>ASYNC</name></member>

docs/xml/classtf_1_1Graph.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
</detaileddescription>
131131
<inbodydescription>
132132
</inbodydescription>
133-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="80" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="703" bodyend="705"/>
133+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="80" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="693" bodyend="695"/>
134134
</memberdef>
135135
<memberdef kind="function" id="classtf_1_1Graph_1a493acc70cca8c0a09d7c407d28c59ee2" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
136136
<type></type>
@@ -143,7 +143,7 @@
143143
</detaileddescription>
144144
<inbodydescription>
145145
</inbodydescription>
146-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="85" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="698" bodyend="700"/>
146+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="85" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="688" bodyend="690"/>
147147
</memberdef>
148148
<memberdef kind="function" id="classtf_1_1Graph_1a945eb240dd5d6840e282c525a1ea74e4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
149149
<type><ref refid="classtf_1_1Graph" kindref="compound">Graph</ref> &amp;</type>
@@ -176,7 +176,7 @@
176176
</detaileddescription>
177177
<inbodydescription>
178178
</inbodydescription>
179-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="95" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="708" bodyend="712"/>
179+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="95" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="698" bodyend="702"/>
180180
</memberdef>
181181
<memberdef kind="function" id="classtf_1_1Graph_1a30750e1be2657e491854791cd3afff06" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
182182
<type>bool</type>
@@ -189,7 +189,7 @@
189189
</detaileddescription>
190190
<inbodydescription>
191191
</inbodydescription>
192-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="100" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="757" bodyend="759"/>
192+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="100" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="747" bodyend="749"/>
193193
</memberdef>
194194
<memberdef kind="function" id="classtf_1_1Graph_1a790710289553897fa88672d9104d8ed1" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
195195
<type>size_t</type>
@@ -202,7 +202,7 @@
202202
</detaileddescription>
203203
<inbodydescription>
204204
</inbodydescription>
205-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="105" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="752" bodyend="754"/>
205+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="105" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="742" bodyend="744"/>
206206
</memberdef>
207207
</sectiondef>
208208
<sectiondef kind="private-func">
@@ -217,7 +217,7 @@
217217
</detaileddescription>
218218
<inbodydescription>
219219
</inbodydescription>
220-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="111" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="715" bodyend="720"/>
220+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="111" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="705" bodyend="710"/>
221221
</memberdef>
222222
<memberdef kind="function" id="classtf_1_1Graph_1ace2898fcb8cd86099dbf5d453a9cf0b4" prot="private" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
223223
<type>void</type>
@@ -230,7 +230,7 @@
230230
</detaileddescription>
231231
<inbodydescription>
232232
</inbodydescription>
233-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="112" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="723" bodyend="733"/>
233+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="112" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="713" bodyend="723"/>
234234
</memberdef>
235235
<memberdef kind="function" id="classtf_1_1Graph_1a39d26ac29a3aa19650dcf31a7563b6ee" prot="private" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
236236
<type>void</type>
@@ -247,7 +247,7 @@
247247
</detaileddescription>
248248
<inbodydescription>
249249
</inbodydescription>
250-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="113" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="736" bodyend="741"/>
250+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="113" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="726" bodyend="731"/>
251251
</memberdef>
252252
<memberdef kind="function" id="classtf_1_1Graph_1a6b50ab0846fe1720edc2dcc5147ba16b" prot="private" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
253253
<type>void</type>
@@ -264,7 +264,7 @@
264264
</detaileddescription>
265265
<inbodydescription>
266266
</inbodydescription>
267-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="114" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="744" bodyend="749"/>
267+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="114" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="734" bodyend="739"/>
268268
</memberdef>
269269
<memberdef kind="function" id="classtf_1_1Graph_1ab804f1d7061f031df585a1b0ae15128d" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
270270
<templateparamlist>
@@ -288,7 +288,7 @@
288288
</detaileddescription>
289289
<inbodydescription>
290290
</inbodydescription>
291-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="117" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="763" bodyend="766"/>
291+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="117" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="753" bodyend="756"/>
292292
</memberdef>
293293
<memberdef kind="function" id="classtf_1_1Graph_1aed34729a3fbafdc2f328cab4ed0fcabb" prot="private" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
294294
<type>Node *</type>
@@ -301,7 +301,7 @@
301301
</detaileddescription>
302302
<inbodydescription>
303303
</inbodydescription>
304-
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="119" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="769" bodyend="772"/>
304+
<location file="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" line="119" column="1" bodyfile="/home/twhuang/Code/taskflow/taskflow/core/graph.hpp" bodystart="759" bodyend="762"/>
305305
</memberdef>
306306
</sectiondef>
307307
<briefdescription>

0 commit comments

Comments
 (0)