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

std: do not overwrite style in get_backtrace_style #128632

Merged
merged 1 commit into from
Aug 12, 2024

Commits on Aug 12, 2024

  1. std: do not overwrite style in get_backtrace_style

    If another thread calls `set_backtrace_style` while a `get_backtrace_style` is reading the environment variables, `get_backtrace_style` will overwrite the value. Use an atomic CAS to avoid this.
    joboet committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    8542cd6 View commit details
    Browse the repository at this point in the history