-
Notifications
You must be signed in to change notification settings - Fork 200
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
thread wainting for task to end should not run another task #42
Comments
Can you elaborate on this some more? I'm wondering if I've seen the same thing. Do you have any example code? |
The behavior of |
Thanks Amanieu, I will try to set the thread_wait_handler. |
Also, you really should use continuations (.then) if you use async patterns. |
Hi @kikaxa , yes I do. |
Hello, thank you for the nice lib.
I will try to describe my problem.
The default scheduler runs several tasks, says A and B
Task A creates a temporary scheduler and wait on it's internal tasks with when_all(A_tasks).wait()
The waiting thread runs task B and this leads to a mess as B cannot be called from A.
A thread waiting for a task to end should not run another task.
The text was updated successfully, but these errors were encountered: