mirror of
https://github.com/python/cpython.git
synced 2025-07-13 06:15:17 +00:00
SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick
Coghlan, for determining whether PyEval_InitThreads() has been called. Also purged the undocumented+unused _PyThread_Started int.
This commit is contained in:
parent
89c0ec9beb
commit
7f468f29f4
7 changed files with 24 additions and 10 deletions
|
@ -1517,7 +1517,6 @@ Py_FatalError(const char *msg)
|
|||
|
||||
#ifdef WITH_THREAD
|
||||
#include "pythread.h"
|
||||
int _PyThread_Started = 0; /* Set by threadmodule.c and maybe others */
|
||||
#endif
|
||||
|
||||
#define NEXITFUNCS 32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue