File size: 236 Bytes
f07f089
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9

cdef extern from "Python.h":

    void PyEval_InitThreads()
        # Initialize and acquire the global interpreter lock.

    int PyEval_ThreadsInitialized()
        # Returns a non-zero value if PyEval_InitThreads() has been called.