summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_gc.h
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2022-10-08 14:57:09 (GMT)
committerGitHub <noreply@github.com>2022-10-08 14:57:09 (GMT)
commit83eb827247dd28b13fd816936c74c162e9f52a2d (patch)
tree40a8abf0018f178eeadd976ad4cba326f9a86029 /Include/internal/pycore_gc.h
parentc66dbddfbaa374a6954897809574ee9fb463e393 (diff)
downloadcpython-83eb827247dd28b13fd816936c74c162e9f52a2d.zip
cpython-83eb827247dd28b13fd816936c74c162e9f52a2d.tar.gz
cpython-83eb827247dd28b13fd816936c74c162e9f52a2d.tar.bz2
gh-97922: Run the GC only on eval breaker (#97920)
Diffstat (limited to 'Include/internal/pycore_gc.h')
-rw-r--r--Include/internal/pycore_gc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_gc.h b/Include/internal/pycore_gc.h
index bfab0ad..b3abe20 100644
--- a/Include/internal/pycore_gc.h
+++ b/Include/internal/pycore_gc.h
@@ -202,6 +202,8 @@ extern void _PyList_ClearFreeList(PyInterpreterState *interp);
extern void _PyDict_ClearFreeList(PyInterpreterState *interp);
extern void _PyAsyncGen_ClearFreeLists(PyInterpreterState *interp);
extern void _PyContext_ClearFreeList(PyInterpreterState *interp);
+extern void _Py_ScheduleGC(PyInterpreterState *interp);
+extern void _Py_RunGC(PyThreadState *tstate);
#ifdef __cplusplus
}