Skip to content

Conversation

@wluker
Copy link

@wluker wluker commented Feb 27, 2020

This takes care of issue #146 , but there are probably other areas that still might need to be protected from being optimized away.

For example, should the volatile keyword be added to any variables declared in the main thread, but made visible to the child thread?

And then there is the assignment in the child thread:
_ceu_mem->_trails[2].evt.id = CEU_INPUT__NONE;
Does that ever need to be protected?

This takes care of issue ceu-lang#146 , but there are probably other areas that still might need to be protected from being optimized away.

For example, should the volatile keyword be added to any variables declared in the main thread, but made visible to the child thread?

And then there is the assignment in the child thread:
`_ceu_mem->_trails[2].evt.id = CEU_INPUT__NONE;`
Does that ever need to be protected?
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

Successfully merging this pull request may close these issues.

1 participant