Skip to content

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 <[email protected]>
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii closed this May 31, 2024
@henryiii henryiii reopened this May 31, 2024
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