Comments (4)
Hi @QiuYilin , I don't understand your question. Basically, when an exception is thrown, the taskflow runtime will try to cancel that running taskflow. Is this something you were asking for?
from taskflow.
Hi @QiuYilin , I don't understand your question. Basically, when an exception is thrown, the taskflow runtime will try to cancel that running taskflow. Is this something you were asking for?
I want to actively interrupt the task even if there is no error. Now I think I should create my own breakpoint, pass the flag so that the breakpoint throws an exception, so as to achieve the effect instead of using future.cancel().
from taskflow.
I think you are referring to something like coroutine that you can suspend a task at any point? If yes, this is something currently we are working on.
from taskflow.
Related Issues (20)
- taskflow find_if doesn't work with infinite ranges because std::distance is used HOT 3
- External conditions: is my code safe? HOT 1
- Async task priority HOT 1
- Semaphores and cancellation
- CUDA 12 on Linux with -std=c++20 compile error HOT 1
- line label HOT 1
- multiple subflows not working HOT 3
- Crash when running a move-constructed ScalablePipeline HOT 2
- WorkerInterface was removed in master HOT 3
- how stop the taskflow and end this time run? HOT 4
- [cuda toolkit v.12.3] Cuda Capturer causes "InvalidResourceHandle" due to "cudaEventDestroy" called on NULL HOT 1
- this_worker_id is too slow
- NumFOCUS: GSoC 2024 Update HOT 1
- Feature: Support blocked ranges HOT 1
- Is there a method for run_until specific node HOT 1
- __pycache__ files included in Git repository HOT 1
- exception bug in tf::Subflow::join HOT 1
- Task comparison function or 'same dependency added twice to no-op' HOT 3
- num_tasks() always returns 11, and not the real task count HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taskflow.