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

FEATURE: add interface compatible constant version of thread local var #823

Closed
wants to merge 2 commits into from

Commits on Feb 10, 2020

  1. FEATURE: add interface compatible constant version of thread local var

    ThreadLocalVar can be expensive as it spins a thread in finalizers. In some
    cases consumers may want to swap in a constant value implementations that
    is very cheap.
    
    `Concurrent::ConstantThreadLocalVar` is interface compatible with
    AbstractThreadLocalVar, however does not allow any changing of .value
    SamSaffron authored and pitr-ch committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    53e31a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99dc326 View commit details
    Browse the repository at this point in the history