mirror of
https://github.com/python/cpython
synced 2026-09-29 09:05:29 +03:00
GH-113853: Guarantee forward progress in executors (GH-113854)
This commit is contained in:
parent
0d8fec79ca
commit
55824d01f8
5 changed files with 120 additions and 73 deletions
|
|
@ -65,7 +65,7 @@ PyAPI_FUNC(_PyOptimizerObject *) PyUnstable_GetOptimizer(void);
|
|||
PyAPI_FUNC(_PyExecutorObject *) PyUnstable_GetExecutor(PyCodeObject *code, int offset);
|
||||
|
||||
int
|
||||
_PyOptimizer_BackEdge(struct _PyInterpreterFrame *frame, _Py_CODEUNIT *src, _Py_CODEUNIT *dest, PyObject **stack_pointer);
|
||||
_PyOptimizer_Optimize(struct _PyInterpreterFrame *frame, _Py_CODEUNIT *start, PyObject **stack_pointer);
|
||||
|
||||
extern _PyOptimizerObject _PyOptimizer_Default;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue