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

AtomicExpiringValue #191

Merged
merged 9 commits into from
Aug 1, 2023
Merged

AtomicExpiringValue #191

merged 9 commits into from
Aug 1, 2023

Commits on Jul 28, 2023

  1. [new] Introducing a naive AtomicExpiringValue

    * value and expiry are updated in different threads, not atomic per se
    didierofrivia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    f289703 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfc46ae View commit details
    Browse the repository at this point in the history
  3. [refactor] Replacing ExpiringValue with AtomicExpiringValue in InMemory

    * Removing not used update_mut fn
    didierofrivia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    df07c50 View commit details
    Browse the repository at this point in the history
  4. [refactor] Updating value and expiry in a single atomic

    * Also, updating value when checked and it has expired
    didierofrivia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    14bfd41 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7f84bb3 View commit details
    Browse the repository at this point in the history
  6. [refactor] Simplifying and enhancing update method

    * Also keeping `value_at` simpler
    didierofrivia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    713caee View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a271cad View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dc98716 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. [refactor] Simplifying and fixing multi-threading test

    * Using thread.scope in order to get rid of Arc and Barrier
    * Fixing assertion to include possible accepted values
    didierofrivia committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    de07e74 View commit details
    Browse the repository at this point in the history