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

SetLogger/ClearLogger/SetLogFilter cleanup #289

Merged
merged 1 commit into from Feb 9, 2022

Commits on Feb 8, 2022

  1. SetLogger/ClearLogger/SetFilter: document as not thread-safe

    It has never been claimed that these functions are thread-safe and in practice
    they weren't because read access was not protected by the same mutex as the
    write access.
    
    These functions were meant to be called during program initialization,
    therefore the documentation is lacking, not the implementation.
    
    Making them thread-safe would imply adding mutex locking to the implementation
    of V, which most likely would have a noticeable effect.
    pohly committed Feb 8, 2022
    Copy the full SHA
    714cb7a View commit details
    Browse the repository at this point in the history