GH-96177: Move GIL and eval breaker code out of ceval.c into ceval_gil.c. (GH-96204)

This commit is contained in:
Mark Shannon 2022-08-24 14:21:01 +01:00 committed by GitHub
parent 4de06e3cc0
commit a4a9f2e879
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 1005 additions and 985 deletions

View file

@ -1752,7 +1752,7 @@ class Frame(object):
def is_waiting_for_gil(self):
'''Is this frame waiting on the GIL?'''
# This assumes the _POSIX_THREADS version of Python/ceval_gil.h:
# This assumes the _POSIX_THREADS version of Python/ceval_gil.c:
name = self._gdbframe.name()
if name:
return (name == 'take_gil')