-
-
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
Remove call to localize_vars from the async macro #8591
Comments
As a workaround, try |
I look at the schedule macro and see it also calls localize_vars. Did you mean the function as opposed to the macro? Can I submit a pull request for a change like this? This is my first time contributing to a serious project so I'm not very familiar with the procedure. |
Sure, feel free to submit a pull request. Make sure you cross-reference relevant issues (as you did in the original post above). |
There really needs to be some macro that does this kind of thing without playing games with your variables.
Ok I removed |
Closed by #19594 |
I'm working on a parallelized project in Julia and am trying to implement something similar to the sync/async pattern, as shown in the docs in the pmap implementation. This requires the code in the async block to modify some variables in the outer scope, but that isn't currently possible (with async). Discussions in issues such as #7813 seem to be in favor of this change.
The text was updated successfully, but these errors were encountered: