Skip to content

Conversation

@colesbury
Copy link
Contributor

Description

Importing "widget_module" re-enables the GIL. In current versions of CPython, this requires pausing all threads attached to all interpreters. The spinning on sync/num without a py::gil_scoped_release causes occasional deadlocks.

Importing "widget_module" re-enables the GIL. In current versions of
CPython, this requires pausing all threads attached to all interpreters.
The spinning on sync/num without a py::gil_scoped_release causes
occasional deadlocks.
@henryiii
Copy link
Collaborator

Windows jobs have been failing to start across multiple repos today on GHA. Don't think it's related.

Copy link
Collaborator

@rwgk rwgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @colesbury!

@rwgk rwgk merged commit 4f81a12 into pybind:master Jan 29, 2026
150 of 152 checks passed
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs changelog Possibly needs a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants