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

Modify Bool to only use 1 or 0, rater than last bit #62

Merged
merged 2 commits into from
Nov 19, 2019

Commits on Nov 19, 2019

  1. Modify Bool to only use 1 or 0, rater than last bit

    Most methods of Bool currently rely on the last bit, but `CAS`
    generates the int value to match `old` based on the user's input
    and so it assumes the value is either `1` or `0`.
    
    The only reason we relid on the last bit is that `Toggle` was
    implemented using an atomic add. We can instead implement
    `Toggle` using a loop around `CAS`.
    
    Fixes #61.
    prashantv committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    c7e5a4f View commit details
    Browse the repository at this point in the history
  2. Update version link

    prashantv committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    fc1544f View commit details
    Browse the repository at this point in the history