-
Notifications
You must be signed in to change notification settings - Fork 22
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
investigate tags implementation for python coroutines #132
Comments
Here's an implementation i wrote of a decorator that works for async functions. I'm sure it can be improved, but here it is in case its useful for implementing an async_tag_wrapper (or making the existing one sync compatible) |
@Bruno-DaSilva Thanks for feedback, appreciate it Well the problem is that
Now at step 5 we still have controller=B while the coroutine A is executing Does it makes sense or am I missing something? |
ah, you're right! Interleaving on the same thread will lead to this behaviour, makes sense. |
Would it be complex to use
|
currently our tag_wrapper only supports os threads
The text was updated successfully, but these errors were encountered: