-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
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
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error