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 | 32bc1e4c7e3d32edb9a77714391ed5593c1c001c (patch) | |
tree | 785872fa5493e296780e4e5688b05e4847f66049 /Include/ceval.h | |
parent | 72380e1120e6c9092e40e2dc1b57fbcfc5dc3916 (diff) | |
download | cpython-32bc1e4c7e3d32edb9a77714391ed5593c1c001c.tar.gz |
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 3d1f6fd2b0..d9320e02c1 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); |