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

add volatile keyword for optimizing compiler #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 27, 2020

  1. add volatile keyword for optimizing compiler

    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?
    wluker authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    58d0841 View commit details
    Browse the repository at this point in the history