How to quickly terminate a running flow? Some flows may contain dead loop tasks
willstudy opened this issue · comments
Liu Chang commented
Our flow will run user-defined code, including dead loops。
RequestCancellation can not kill dead loops。
Liu Chang commented
Use POSIX pthread instead of std::thread? pthread_cancel
kill dead loops task?
Tsung-Wei Huang commented
Perhaps a code example showing your problem might be better for me to understand what a dead loop means. The termination of Taskflow should have no dependency on this scenario.