-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: support free-threaded CPython with GIL disabled #5148
Merged
Merged
Commits on May 30, 2024
-
Support free-threaded CPython (PEP 703)
Some additional locking is added in the free-threaded build when `Py_GIL_DISABLED` is defined: - Most accesses to internals are protected by a single mutex - The registered_instances uses a striped lock to improve concurrency Pybind11 modules can indicate support for running with the GIL disabled by calling `set_gil_not_used()`.
Configuration menu - View commit details
-
Copy full SHA for e5470eb - Browse repository at this point
Copy the full SHA e5470ebView commit details
Commits on May 31, 2024
-
refactor: use PYBIND11_MODULE (#11)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1831bde - Browse repository at this point
Copy the full SHA 1831bdeView commit details
Commits on Jun 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0a57d1d - Browse repository at this point
Copy the full SHA 0a57d1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f53dcb5 - Browse repository at this point
Copy the full SHA f53dcb5View commit details
Commits on Jun 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2a29578 - Browse repository at this point
Copy the full SHA 2a29578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85f3ff4 - Browse repository at this point
Copy the full SHA 85f3ff4View commit details
Commits on Jun 18, 2024
-
Merge branch 'master' into pep703-support
Ralf W. Grosse-Kunstleve committedJun 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 3cafb88 - Browse repository at this point
Copy the full SHA 3cafb88View commit details -
py::mod_gil_not_used()
suggestion.Ralf W. Grosse-Kunstleve committedJun 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 44d1fc7 - Browse repository at this point
Copy the full SHA 44d1fc7View commit details -
Merge branch 'pep703-support' of https://github.com/colesbury/pybind11 …
…into pep703-support
Ralf W. Grosse-Kunstleve committedJun 18, 2024 Configuration menu - View commit details
-
Copy full SHA for c61f197 - Browse repository at this point
Copy the full SHA c61f197View commit details -
Configuration menu - View commit details
-
Copy full SHA for d40299a - Browse repository at this point
Copy the full SHA d40299aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.