You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We must instantiate Futures with an explicit condition=Condition() parameter where Condition is obtained from _get_green_tools().
Otherwise a Future would use default threading.Condition() and block other greenlets.
Also we need a test case that proves this.
The text was updated successfully, but these errors were encountered:
I see. That's what I thought. I am going to take care of it by replacing get_green_tools() with a more generic get_concurrency_tools() which would also cover the threading case (i.e. no green env). Also it is going to return a proper Future class/wrapper suitable for current env.
We must instantiate Futures with an explicit condition=Condition() parameter where Condition is obtained from _get_green_tools().
Otherwise a Future would use default threading.Condition() and block other greenlets.
Also we need a test case that proves this.
The text was updated successfully, but these errors were encountered: