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

Lock around Tracker creation and destruction #667

Merged
merged 1 commit into from
Aug 20, 2024

Commits on Aug 20, 2024

  1. Lock around Tracker creation and destruction

    The `Tracker.__enter__` and `Tracker.__exit` methods may wind up
    releasing the GIL, which allows another thread to see an intermediate
    state where the tracker is not fully installed. Add a lock, shared
    across all trackers, to serialize access to the global state that
    tracker installation and uninstallation writes to.
    
    Signed-off-by: Matt Wozniski <[email protected]>
    godlygeek committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    74073e1 View commit details
    Browse the repository at this point in the history