mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)" (GH-13780)
This reverts commit 6a150bcaeb.
This commit is contained in:
parent
49a7e34797
commit
e225bebc14
10 changed files with 185 additions and 320 deletions
|
|
@ -12,22 +12,19 @@ extern "C" {
|
|||
#include "pycore_pystate.h"
|
||||
#include "pythread.h"
|
||||
|
||||
PyAPI_FUNC(void) _Py_FinishPendingCalls(_PyRuntimeState *runtime);
|
||||
PyAPI_FUNC(void) _PyEval_Initialize(struct _ceval_runtime_state *);
|
||||
PyAPI_FUNC(void) _PyEval_FiniThreads(
|
||||
struct _ceval_runtime_state *);
|
||||
struct _ceval_runtime_state *ceval);
|
||||
PyAPI_FUNC(void) _PyEval_SignalReceived(
|
||||
struct _ceval_runtime_state *);
|
||||
struct _ceval_runtime_state *ceval);
|
||||
PyAPI_FUNC(int) _PyEval_AddPendingCall(
|
||||
PyThreadState *tstate,
|
||||
struct _ceval_runtime_state *,
|
||||
struct _ceval_interpreter_state *,
|
||||
unsigned long thread_id,
|
||||
struct _ceval_runtime_state *ceval,
|
||||
int (*func)(void *),
|
||||
void *arg);
|
||||
PyAPI_FUNC(void) _PyEval_FinishPendingCalls(PyInterpreterState *);
|
||||
PyAPI_FUNC(void) _PyEval_SignalAsyncExc(
|
||||
struct _ceval_runtime_state *,
|
||||
struct _ceval_interpreter_state *);
|
||||
struct _ceval_runtime_state *ceval);
|
||||
PyAPI_FUNC(void) _PyEval_ReInitThreads(
|
||||
_PyRuntimeState *runtime);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue