We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The below scoping behavior seems a little confusing:
addprocs(1) function foo() a = 3 @sync begin @spawn println(a) end end foo()
works as expected, but
@sync begin b = 2 @spawn println(b) end
fails with a exception on 2: ERROR: b not defined .
exception on 2: ERROR: b not defined
Was triggered by https://groups.google.com/d/msg/julia-users/RsX64KwJUBU/iZAwcNB_c5kJ
Maybe related: #3713
The text was updated successfully, but these errors were encountered:
@async
Closed by #19594
Sorry, something went wrong.
tested?
No branches or pull requests
The below scoping behavior seems a little confusing:
works as expected, but
fails with a
exception on 2: ERROR: b not defined
.Was triggered by https://groups.google.com/d/msg/julia-users/RsX64KwJUBU/iZAwcNB_c5kJ
Maybe related: #3713
The text was updated successfully, but these errors were encountered: