mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-39984: Pass tstate to _PyEval_SignalAsyncExc() (GH-19049)
_PyEval_SignalAsyncExc() and _PyEval_FiniThreads() now expect tstate, instead of ceval.
This commit is contained in:
parent
611836a69a
commit
56bfdebfb1
5 changed files with 30 additions and 26 deletions
|
@ -18,8 +18,7 @@ struct _frame;
|
|||
extern void _Py_FinishPendingCalls(PyThreadState *tstate);
|
||||
extern void _PyEval_InitRuntimeState(struct _ceval_runtime_state *);
|
||||
extern void _PyEval_InitState(struct _ceval_state *);
|
||||
extern void _PyEval_FiniThreads(
|
||||
struct _ceval_runtime_state *ceval);
|
||||
extern void _PyEval_FiniThreads(PyThreadState *tstate);
|
||||
PyAPI_FUNC(void) _PyEval_SignalReceived(
|
||||
struct _ceval_runtime_state *ceval);
|
||||
PyAPI_FUNC(int) _PyEval_AddPendingCall(
|
||||
|
@ -27,8 +26,7 @@ PyAPI_FUNC(int) _PyEval_AddPendingCall(
|
|||
struct _ceval_runtime_state *ceval,
|
||||
int (*func)(void *),
|
||||
void *arg);
|
||||
PyAPI_FUNC(void) _PyEval_SignalAsyncExc(
|
||||
struct _ceval_runtime_state *ceval);
|
||||
PyAPI_FUNC(void) _PyEval_SignalAsyncExc(PyThreadState *tstate);
|
||||
PyAPI_FUNC(void) _PyEval_ReInitThreads(
|
||||
struct pyruntimestate *runtime);
|
||||
PyAPI_FUNC(void) _PyEval_SetCoroutineOriginTrackingDepth(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue