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

Henryiii/refactor/pep703 arg #22

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

henryiii
Copy link
Owner

@henryiii henryiii commented May 31, 2024

Build recipe:

$ docker run --rm -it -v $PWD:/hft -w /hft quay.io/pypa/musllinux_1_2_x86_64
# python3.13t -m venv /venv
# . /venv/bin/activate
# uv pip install pytest
# cmake -S. -B/build
# cmake --build /build

colesbury and others added 4 commits May 30, 2024 01:43
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()`.
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii closed this May 31, 2024
@henryiii henryiii reopened this May 31, 2024
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants