Skip to content
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

Copying back of shared variables. #20

Open
pdewan opened this issue Mar 16, 2019 · 2 comments
Open

Copying back of shared variables. #20

pdewan opened this issue Mar 16, 2019 · 2 comments

Comments

@pdewan
Copy link

pdewan commented Mar 16, 2019

This is the same issue as can't use public variables, which has received no response. Shared variables in a loop are copied to instance variables during loop execution but not copied back after the loop execution, which is a problem if the shared variable is atomic. It should be a simple matter to copy back the value.

@petrbel
Copy link
Member

petrbel commented Mar 18, 2019

Hi @pdewan,
thanks for an issue. Would you mind creating a pull request with a proposed fix? Thanks!

@a3y3
Copy link

a3y3 commented Sep 18, 2019

Can confirm, public attribute for using shared variables does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants