mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
The new PyEval_ReInitThreads wasn't declared in ceval.h; compiler wngs.
This commit is contained in:
parent
0df002c45b
commit
8ebe84dff5
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ extern DL_IMPORT(void) PyEval_AcquireLock(void);
|
||||||
extern DL_IMPORT(void) PyEval_ReleaseLock(void);
|
extern DL_IMPORT(void) PyEval_ReleaseLock(void);
|
||||||
extern DL_IMPORT(void) PyEval_AcquireThread(PyThreadState *tstate);
|
extern DL_IMPORT(void) PyEval_AcquireThread(PyThreadState *tstate);
|
||||||
extern DL_IMPORT(void) PyEval_ReleaseThread(PyThreadState *tstate);
|
extern DL_IMPORT(void) PyEval_ReleaseThread(PyThreadState *tstate);
|
||||||
|
extern DL_IMPORT(void) PyEval_ReInitThreads(void);
|
||||||
|
|
||||||
#define Py_BEGIN_ALLOW_THREADS { \
|
#define Py_BEGIN_ALLOW_THREADS { \
|
||||||
PyThreadState *_save; \
|
PyThreadState *_save; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue