-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taskflow for async #15634
Taskflow for async #15634
Conversation
Yes, good to go once the other PR is merged and this one is rebased! |
Can you rebase on master? |
8bdb437
to
ca1d110
Compare
@bangerth This PR is now rebased. I am not sure it is wise to merge this without a testsuite run. |
This does not work as mentioned during the hackathon. I see deadlocks inside the call to join. |
Yes, we're absolutely not going to merge this without testing on many platforms :-) |
For reference, the issue is this one: taskflow/taskflow#575 I must be fundamentally misunderstanding how to create asynchronous tasks. |
ca1d110
to
51dffc6
Compare
What a coincidence. I was just looking at this PR again a week or so ago. When updating to the development version of taskflow, the tests using async() no longer crash for me but they do hang in an infinite loop as you describe. |
This seems to almost work. It hangs if a task ends with an exception ( |
This is a bug in TaskFlow 3.6:
The function wants to put the output of |
This seems to be fixed in the pre-release snapshot of TaskFlow that I'm importing in #16892. So now I will need to update that to the actual 3.7 release that came out a couple of days ago. |
Superseded by #16976. |
sitting on top of #15610
Thank you @bangerth