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

Support thread-safe for prefetch_config::get and prefetch_config::set #16425

Merged
merged 5 commits into from
Jul 30, 2024

Commits on Jul 29, 2024

  1. Make get a const function and set thread-safe

    Signed-off-by: Nghia Truong <nghiat@nvidia.com>
    ttnghia committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    2e9cb10 View commit details
    Browse the repository at this point in the history
  2. Use map::get

    Signed-off-by: Nghia Truong <nghiat@nvidia.com>
    ttnghia committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    2d18e7a View commit details
    Browse the repository at this point in the history
  3. Fix map access and make thread-safe get

    Signed-off-by: Nghia Truong <nghiat@nvidia.com>
    ttnghia committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    79372f3 View commit details
    Browse the repository at this point in the history
  4. Use shared_mutex and shared_lock

    Signed-off-by: Nghia Truong <nghiat@nvidia.com>
    ttnghia committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    8ba0763 View commit details
    Browse the repository at this point in the history
  5. Avoid double lookup

    Signed-off-by: Nghia Truong <nghiat@nvidia.com>
    ttnghia committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    080a136 View commit details
    Browse the repository at this point in the history