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

Fix symbol resolution race #872

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Aug 22, 2022

  1. Refactor native library loading

    This simplifies the process of supporting multiple paths for native
    code loading and allows cleanup to occur on non-windows platforms when
    the libllvmlite shared library is extracted to a temporary directory.
    folded committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    3e49248 View commit details
    Browse the repository at this point in the history
  2. Avoid potential race condition in symbol lookup.

    If two threads attempt to resolve the same symbol at the same time,
    then both may test the symbol dictionary before the other has a chance
    to insert a wrapper object, leading to both threads creating their
    own wrapper.
    
    Add double checked locking to avoid this possibility.
    folded committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    134c9ea View commit details
    Browse the repository at this point in the history
  3. add cfn back, fix flake8

    folded committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    bcb1f77 View commit details
    Browse the repository at this point in the history