diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-10-11 02:40:51 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-10-11 02:40:51 +0000 |
commit | 7f468f29f49786988e4f1a005174578fc83c7eb9 (patch) | |
tree | 0a675ca5df1a5df96404213998dc51672394328e /Include/ceval.h | |
parent | Revert rev 2.35. It was based on erroneous reasoning -- the current (diff) | |
download | cpython-7f468f29f49786988e4f1a005174578fc83c7eb9.tar.gz cpython-7f468f29f49786988e4f1a005174578fc83c7eb9.tar.bz2 cpython-7f468f29f49786988e4f1a005174578fc83c7eb9.zip |
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 3d1f6fd2b09..d9320e02c18 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); |