-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
isready() blocks #7006
Comments
Yes, |
The issue is that if the other worker is computation bound, no other code can execute, even the
|
Or just have Just trolling @StefanKarpinski :-) |
Thank you very much for the workaround, Amit! (At the same time, I think the issue is still open.) |
|
So you plan to remove The suggested workaround is already subtle and slightly verbose for me, Maybe a new macro ? |
Well, |
I am not arguing for I would greatly appreciate good examples. The use case? |
For that, I recommend the dynamic scheduling pattern used by I think for this release we should deprecate |
Thank you for the As for the fate of |
I am not for deprecating The race condition with As and when #6741 is ready, we should actually have IO (libuv) running in its own thread and all computation in their own. Like ZeroMQ does - it starts an independent internal I/O thread and all application 0MQ sockets communicate with it via an internal mechanism. |
So because my use case of |
Yes.
|
Ok, we can keep it. We can warn in the docs that it might block, and suggest async waiting instead. |
I like keeping it and warning in the docs. How about putting the recipe described here in the manual for future users with the same question. |
isready(RemoteRef)
is there for checking whether a long calculation is ready.However, the following call to isready() blocks until the calculation is ready:
This makes some of my parallel code useless.
(tested using 0.3 prerelease on both 32-bit Windows and Ubuntu Nightly)
The text was updated successfully, but these errors were encountered: