diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-10-11 02:40:51 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-10-11 02:40:51 (GMT) |
commit | 7f468f29f49786988e4f1a005174578fc83c7eb9 (patch) | |
tree | 0a675ca5df1a5df96404213998dc51672394328e /Include/ceval.h | |
parent | 89c0ec9beba4e6b086e74345bc1ef15041bd5e7d (diff) | |
download | cpython-7f468f29f49786988e4f1a005174578fc83c7eb9.zip cpython-7f468f29f49786988e4f1a005174578fc83c7eb9.tar.gz cpython-7f468f29f49786988e4f1a005174578fc83c7eb9.tar.bz2 |
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.
Diffstat (limited to 'Include/ceval.h')
-rw-r--r-- | Include/ceval.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index 3d1f6fd..d9320e0 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -120,6 +120,7 @@ PyAPI_FUNC(void) PyEval_RestoreThread(PyThreadState *); #ifdef WITH_THREAD +PyAPI_FUNC(int) PyEval_ThreadsInitialized(void); PyAPI_FUNC(void) PyEval_InitThreads(void); PyAPI_FUNC(void) PyEval_AcquireLock(void); PyAPI_FUNC(void) PyEval_ReleaseLock(void); |