mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Moved PyEval_InitThreads to inside WITH_THREAD, where it belongs.
This commit is contained in:
parent
e6fb2043ce
commit
a847889607
1 changed files with 1 additions and 1 deletions
|
@ -99,12 +99,12 @@ int Py_MakePendingCalls Py_PROTO((void));
|
|||
mechanism!
|
||||
*/
|
||||
|
||||
extern void PyEval_InitThreads Py_PROTO((void));
|
||||
extern PyThreadState *PyEval_SaveThread Py_PROTO((void));
|
||||
extern void PyEval_RestoreThread Py_PROTO((PyThreadState *));
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
|
||||
extern void PyEval_InitThreads Py_PROTO((void));
|
||||
extern void PyEval_AcquireThread Py_PROTO((PyThreadState *tstate));
|
||||
extern void PyEval_ReleaseThread Py_PROTO((PyThreadState *tstate));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue