File tree 4 files changed +19
-15
lines changed
4 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ We are grateful for the following contributors (alphabetic order) to the %Taskfl
21
21
@li <a href="https://github.com/dian-lun-lin">Dian-Lun Lin</a>: applied %Taskflow to win the champion award of the IEEE HPEC 2020 %Graph Challenge
22
22
@li <a href="https://github.com/fstrugar">Filip Strugar</a>: fixed the bugs in fire-and-get taskflow execution and parallel algorithms
23
23
@li <a href="https://github.com/ForgeMistress">Foge Mistress</a>: helped design the executor interface to avoid over-subscribed threads
24
+ @li <a href="https://github.com/fran6co">Francisco Facioni</a>: improved the interface of %Taskflow exception support through macro
24
25
@li <a href="https://github.com/largerock">George Price</a>: improved the documentation pages and fixed several typos
25
26
@li <a href="https://github.com/totalgee">Glen Fraser</a>: contributed to the design of executor and threadpool
26
27
@li <a href="https://github.com/guannan-git">Guannan Guo</a>: benchmarked different scheduling algorithms and architectures
@@ -67,6 +68,7 @@ We are grateful for the following contributors (alphabetic order) to the %Taskfl
67
68
@li <a href="https://github.com/QiuYilin">Yilin Qiu</a>: helped implement the dependency removal methods in %Taskflow
68
69
@li <a href="https://guozz.cn/">Zizheng Guo</a>: applied %Taskflow to speed up VLSI timing analysis and shared his feedback
69
70
71
+
70
72
Please @ContactUs if we forgot your name!
71
73
72
74
@section ThankYouForUsingTaskflow Thank You for Using Taskflow
Original file line number Diff line number Diff line change @@ -1096,21 +1096,6 @@ class Executor {
1096
1096
void _corun_until (Worker&, P&&);
1097
1097
};
1098
1098
1099
- #ifdef TF_DISABLE_EXCEPTION_HANDLING
1100
-
1101
- #define TF_EXECUTOR_EXCEPTION_HANDLER (worker, node, code_block ) \
1102
- do { code_block; } while (0 )
1103
- #else
1104
-
1105
- #define TF_EXECUTOR_EXCEPTION_HANDLER (worker, node, code_block ) \
1106
- try { \
1107
- code_block; \
1108
- } catch (...) { \
1109
- _process_exception (worker, node); \
1110
- }
1111
- #endif
1112
-
1113
-
1114
1099
// Constructor
1115
1100
inline Executor::Executor (size_t N) :
1116
1101
_MAX_STEALS {((N+1 ) << 1 )},
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ class Notifier {
106
106
}
107
107
108
108
// commit_wait commits waiting.
109
+ // only the waiter itself can call
109
110
void commit_wait (Waiter* w) {
110
111
#ifdef __cpp_lib_atomic_wait
111
112
w->state .store (Waiter::kNotSignaled , std::memory_order_relaxed);
Original file line number Diff line number Diff line change 15
15
#else
16
16
#define TF_NO_INLINE
17
17
#endif
18
+
19
+ // ----------------------------------------------------------------------------
20
+
21
+ #ifdef TF_DISABLE_EXCEPTION_HANDLING
22
+ #define TF_EXECUTOR_EXCEPTION_HANDLER (worker, node, code_block ) \
23
+ do { code_block; } while (0 )
24
+ #else
25
+ #define TF_EXECUTOR_EXCEPTION_HANDLER (worker, node, code_block ) \
26
+ try { \
27
+ code_block; \
28
+ } catch (...) { \
29
+ _process_exception (worker, node); \
30
+ }
31
+ #endif
32
+
33
+ // ----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments