Closed
Description
I've reviewed the main
branch and the GIL isn't released: https://github.com/python/cpython/blob/main/Modules/posixmodule.c#L7060
The forum thread: https://discuss.python.org/t/does-the-os-sched-yield-release-the-gil/18301
Expected: The GIL is released before sched_yield() and acquired after that.
Metadata
Metadata
Assignees
Labels
only security fixesonly security fixesonly security fixesonly security fixesonly security fixesonly security fixesC modules in the Modules dirC modules in the Modules dirAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error